electron/shell/browser/ui
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
..
cocoa fix: fullscreen crashing with no roundedCorners and no frame (#39747) 2023-09-11 09:38:10 +02:00
gtk chore: use nested namespaces (#37855) 2023-04-11 15:30:25 +09:00
views fix: propagate layout call to all children of InspectableWebContentsViewViews (#39994) 2023-09-28 11:17:21 -04:00
webui chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
win feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
x chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
accelerator_util.cc refactor: improve accelerator check failed message (#36476) 2022-11-30 11:31:16 -08:00
accelerator_util.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
accelerator_util_unittests.cc chore: bump chromium to 117.0.5913.0 (main) (#39172) 2023-07-31 10:47:32 -07:00
autofill_popup.cc build: remove enable_osr build flag (#38703) 2023-06-13 14:48:53 -04:00
autofill_popup.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
certificate_trust.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
certificate_trust_mac.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
certificate_trust_win.cc chore: bump chromium to 116.0.5833.0 (main) (#38809) 2023-06-15 16:37:01 -04:00
devtools_manager_delegate.cc chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
devtools_manager_delegate.h chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
devtools_ui.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
devtools_ui.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
drag_util.cc chore: remove dead draggable region code (#38404) 2023-05-24 10:03:07 +02:00
drag_util.h chore: bump chromium to 117.0.5884.1 (main) (#38969) 2023-07-16 16:14:43 +02:00
drag_util_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
drag_util_views.cc chore: cleanup drag_util (#36806) 2023-01-09 10:00:47 +01:00
electron_desktop_window_tree_host_linux.cc chore: bump chromium to 117.0.5884.1 (main) (#38969) 2023-07-16 16:14:43 +02:00
electron_desktop_window_tree_host_linux.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_gdk_pixbuf.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.fragment refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_menu_model.cc chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
electron_menu_model.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
file_dialog.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
file_dialog_gtk.cc chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
file_dialog_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
file_dialog_win.cc chore: remove UnresponsiveSuppressor altogether (#35507) 2022-09-08 15:49:33 -07:00
gtk_util.cc chore: update links in comments (#37197) 2023-02-11 18:52:54 -08:00
gtk_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents.cc fix: devtools allow restoring saved dock state on Windows (#39734) 2023-09-07 17:14:01 +09:00
inspectable_web_contents.h feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
inspectable_web_contents_delegate.h feat: emit devtools-open-url event for DevTools link selection (#36774) 2023-01-26 09:54:26 +01:00
inspectable_web_contents_view.cc chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
inspectable_web_contents_view.h feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
inspectable_web_contents_view_delegate.cc chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
inspectable_web_contents_view_delegate.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
inspectable_web_contents_view_mac.h chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
inspectable_web_contents_view_mac.mm feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
message_box.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
message_box_gtk.cc chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
message_box_mac.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
message_box_win.cc refactor: prefer base::Contains() over find() + end() (#38443) 2023-05-30 10:28:43 +02:00
run_all_unittests.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
status_icon_gtk.cc fix: fallback to GtkStatusIcon when app indicator is not supported (#36815) 2023-01-26 19:15:55 +09:00
status_icon_gtk.h fix: fallback to GtkStatusIcon when app indicator is not supported (#36815) 2023-01-26 19:15:55 +09:00
tray_icon.cc feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon.h feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon_cocoa.h chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
tray_icon_cocoa.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
tray_icon_linux.cc chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
tray_icon_linux.h chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
tray_icon_observer.h feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon_win.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00