electron/shell/browser/ui/views
marekharanczyk 94585f5889
fix: propagate layout call to all children of InspectableWebContentsViewViews (#39994)
Propagate layout call to all children of InspectableWebContentsViewViews.

When BrowserView bounds are set from js, those might not trigger layout
immediately, sometimes propagating InvalidateLayout call to parent.
View is marked as needing layout, expecting to receive it from parent on
next layout call. The problem is that BrowserView's view is added as child
of InspectableWebContentsViews which does not call setBounds (which
would trigger layout) on all of it's children when doing it's layout,
so it skips propagating Layout call to its children BrowserViews views,
even though those were marked as needing layout.
Call base class View::Layout which will iterate over views' children
and call Layout on those that were marked as needing them.

Fixes #39993.
2023-09-28 11:17:21 -04:00
..
autofill_popup_view.cc build: remove enable_osr build flag (#38703) 2023-06-13 14:48:53 -04:00
autofill_popup_view.h chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
client_frame_view_linux.cc fix: use tiled edges to calculate frame inset sizes in Linux (#39523) 2023-08-17 14:26:49 -04:00
client_frame_view_linux.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_views_delegate.cc
electron_views_delegate.h chore: remove ViewsDelegate::IsWindowInMetro() override (#38409) 2023-05-24 20:00:52 +02:00
electron_views_delegate_win.cc chore: remove ViewsDelegate::IsWindowInMetro() override (#38409) 2023-05-24 20:00:52 +02:00
frameless_view.cc refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
frameless_view.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
global_menu_bar_registrar_x11.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
global_menu_bar_registrar_x11.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
global_menu_bar_x11.cc chore: bump chromium to 117.0.5884.1 (main) (#38969) 2023-07-16 16:14:43 +02:00
global_menu_bar_x11.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
inspectable_web_contents_view_views.cc fix: propagate layout call to all children of InspectableWebContentsViewViews (#39994) 2023-09-28 11:17:21 -04:00
inspectable_web_contents_view_views.h feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
menu_bar.cc fix: set background color for menu bar on Windows (#37766) 2023-03-31 18:06:09 +02:00
menu_bar.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
menu_delegate.cc
menu_delegate.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
menu_model_adapter.cc
menu_model_adapter.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
native_frame_view.cc
native_frame_view.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
root_view.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
root_view.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
submenu_button.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
submenu_button.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
win_caption_button.cc chore: bump chromium to 117.0.5852.0 (main) (#38891) 2023-07-01 16:22:55 -04:00
win_caption_button.h chore: bump chromium to 117.0.5852.0 (main) (#38891) 2023-07-01 16:22:55 -04:00
win_caption_button_container.cc fix: set minimize visibility true with enable (#38860) 2023-06-21 14:58:33 -04:00
win_caption_button_container.h chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
win_frame_view.cc fix: WCO transparent background (#38693) 2023-06-09 09:57:57 -07:00
win_frame_view.h chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
win_icon_painter.cc chore: apply chromium commit 30a32e6 (#35370) 2022-08-23 10:31:23 +09:00
win_icon_painter.h