electron/shell/browser
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
..
api feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
badging chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
bluetooth chore: eliminate a few uses of base::AdaptCallbackForRepeating() (#38293) 2023-05-18 17:01:44 -04:00
extensions build: fix with enable_pdf_viewer = false (#39990) 2023-09-27 10:09:53 -04:00
hid perf: small perf changes in HidChooserController (#39057) 2023-07-19 16:54:30 +02:00
lib refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
linux chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
mac chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
media chore: bump chromium to 117.0.5852.0 (main) (#38891) 2023-07-01 16:22:55 -04:00
net chore: bump chromium to 117.0.5913.0 (main) (#39172) 2023-07-31 10:47:32 -07:00
notifications chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
osr chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
plugins
printing chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
resources chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
serial refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
ui fix: propagate layout call to all children of InspectableWebContentsViewViews (#39994) 2023-09-28 11:17:21 -04:00
usb refactor: prefer Sorted variant of MakeFixedFlatSet() (#39537) 2023-08-17 08:58:04 -05:00
webauthn
win fix: initial dark mode title bar on Windows 10 (#39287) 2023-07-31 22:02:23 -07:00
auto_updater.cc feat: add new ElectronSquirrelPreventDowngrades flag (#38625) 2023-09-11 11:54:51 -07:00
auto_updater.h feat: add new ElectronSquirrelPreventDowngrades flag (#38625) 2023-09-11 11:54:51 -07:00
auto_updater_mac.mm feat: add new ElectronSquirrelPreventDowngrades flag (#38625) 2023-09-11 11:54:51 -07:00
background_throttling_source.h fix: disable background throttling also in the viz::DisplayScheduler (#38924) 2023-09-26 16:00:46 -04:00
browser.cc fix: set supported scale factors on startup (#38836) 2023-06-20 12:24:03 -04:00
browser.h fix: set supported scale factors on startup (#38836) 2023-06-20 12:24:03 -04:00
browser_linux.cc chore: bump chromium to 113.0.5668.0 (main) (#37646) 2023-03-22 20:09:13 -04:00
browser_mac.mm fix: devtools allow restoring saved dock state on Windows (#39734) 2023-09-07 17:14:01 +09:00
browser_observer.h feat: add did-resign-active event on app (#37933) 2023-04-18 16:53:39 +02:00
browser_process_impl.cc chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
browser_process_impl.h chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
browser_win.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
certificate_manager_model.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
certificate_manager_model.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
child_web_contents_tracker.cc
child_web_contents_tracker.h
cookie_change_notifier.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
cookie_change_notifier.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
draggable_region_provider.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_ipc_handler_impl.cc chore: remove deprecated ipcRenderer.sendTo() (#39087) 2023-08-28 10:29:27 -04:00
electron_api_ipc_handler_impl.h chore: remove deprecated ipcRenderer.sendTo() (#39087) 2023-08-28 10:29:27 -04:00
electron_autofill_driver.cc fix: account for BrowserView bounds in setting autofill popup bounds (#38489) 2023-06-06 10:21:42 +02:00
electron_autofill_driver.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_autofill_driver_factory.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
electron_autofill_driver_factory.h chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_browser_client.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_browser_client.h chore: bump chromium to 117.0.5897.0 (main) (#39147) 2023-07-20 09:36:59 +02:00
electron_browser_context.cc fix: instantiate tab video tracks from BrowserCaptureMediaStreamTrack (#39074) 2023-08-23 10:49:24 +02:00
electron_browser_context.h chore: bump chromium to 117.0.5852.0 (main) (#38891) 2023-07-01 16:22:55 -04:00
electron_browser_main_parts.cc feat: enable dark mode on GTK UIs (#38977) 2023-09-27 14:17:40 -04:00
electron_browser_main_parts.h feat: enable dark mode on GTK UIs (#38977) 2023-09-27 14:17:40 -04:00
electron_browser_main_parts_linux.cc fix: add support for ELECTRON_OZONE_PLATFORM_HINT env var (#39792) 2023-09-20 16:21:23 -04:00
electron_browser_main_parts_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_browser_main_parts_posix.cc
electron_download_manager_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_download_manager_delegate.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_gpu_client.cc
electron_gpu_client.h
electron_javascript_dialog_manager.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_javascript_dialog_manager.h
electron_navigation_throttle.cc feat: add will-frame-navigate event (#34418) 2023-03-28 10:55:41 -04:00
electron_navigation_throttle.h
electron_pdf_document_helper_client.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_pdf_document_helper_client.h chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_permission_manager.cc chore: bump chromium to 118.0.5991.0 (main) (#39714) 2023-09-05 21:17:56 -04:00
electron_permission_manager.h chore: bump chromium to 118.0.5991.0 (main) (#39714) 2023-09-05 21:17:56 -04:00
electron_speech_recognition_manager_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_speech_recognition_manager_delegate.h
electron_web_contents_utility_handler_impl.cc refactor: use content::GlobalRenderFrameHostId (#38843) 2023-06-20 15:32:31 +02:00
electron_web_contents_utility_handler_impl.h refactor: use content::GlobalRenderFrameHostId (#38843) 2023-06-20 15:32:31 +02:00
electron_web_ui_controller_factory.cc
electron_web_ui_controller_factory.h
event_emitter_mixin.h refactor: simplify events (#37099) 2023-02-13 13:39:18 -08:00
extended_web_contents_observer.h
fake_location_provider.cc chore: bump chromium to 116.0.5845.0 (main) (#38827) 2023-06-22 10:51:15 +02:00
fake_location_provider.h chore: bump chromium to 116.0.5845.0 (main) (#38827) 2023-06-22 10:51:15 +02:00
feature_list.cc chore: bump chromium to 119.0.6006.0 (main) (#39774) 2023-09-18 16:44:09 -04:00
feature_list.h
file_select_helper.cc chore: stop using a RenderWidgetHost observer in FileSelectHelper (#38168) 2023-05-04 21:43:29 +02:00
file_select_helper.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
file_select_helper_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
font_defaults.cc chore: fix clang-tidy warnings (#38079) 2023-04-26 10:09:54 -04:00
font_defaults.h
javascript_environment.cc refactor: node::Environment self-cleanup (#39604) 2023-08-23 09:56:16 -04:00
javascript_environment.h refactor: remove unused fields, methods in gin_helper::Locker (#39803) 2023-09-12 16:53:20 -07:00
login_handler.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
login_handler.h
microtasks_runner.cc
microtasks_runner.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
native_browser_view.cc
native_browser_view.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
native_browser_view_mac.h chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
native_browser_view_mac.mm fix: ensure BrowserView bounds are always relative to window (#39605) 2023-08-23 09:55:31 -04:00
native_browser_view_views.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
native_browser_view_views.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
native_window.cc fix: apply size constraints to NSWindow (#39975) 2023-09-27 11:11:24 +02:00
native_window.h fix: disable background throttling also in the viz::DisplayScheduler (#38924) 2023-09-26 16:00:46 -04:00
native_window_features.cc feat: enable WaylandWindowDecorations by default (#39582) 2023-08-24 17:02:05 -04:00
native_window_features.h
native_window_mac.h fix: apply size constraints to NSWindow (#39975) 2023-09-27 11:11:24 +02:00
native_window_mac.mm fix: rounded corners on vibrant macOS modals (#39979) 2023-09-27 15:12:37 +02:00
native_window_observer.h feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
native_window_views.cc fix: frameless mica/acrylic windows (#39708) 2023-09-11 14:51:54 +02:00
native_window_views.h fix: explorer restart does not recreated thumbnail toolbar buttons (#39551) 2023-08-21 09:43:49 +09:00
native_window_views_win.cc fix: explorer restart does not recreated thumbnail toolbar buttons (#39551) 2023-08-21 09:43:49 +09:00
network_hints_handler_impl.cc chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
network_hints_handler_impl.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
protocol_registry.cc
protocol_registry.h
relauncher.cc chore: use emplace when possible (#37877) 2023-04-11 15:21:03 +09:00
relauncher.h
relauncher_linux.cc
relauncher_mac.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
relauncher_win.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
session_preferences.cc refactor: add SessionPreferences::CreateForBrowserContext() (#38656) 2023-06-09 11:20:43 -05:00
session_preferences.h refactor: add SessionPreferences::CreateForBrowserContext() (#38656) 2023-06-09 11:20:43 -05:00
special_storage_policy.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
special_storage_policy.h
web_contents_permission_helper.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
web_contents_permission_helper.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
web_contents_preferences.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
web_contents_preferences.h chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
web_contents_zoom_controller.cc refactor: update WebContentsZoomController (#39428) 2023-08-15 10:33:30 +09:00
web_contents_zoom_controller.h refactor: update WebContentsZoomController (#39428) 2023-08-15 10:33:30 +09:00
web_contents_zoom_observer.h refactor: update WebContentsZoomController (#39428) 2023-08-15 10:33:30 +09:00
web_view_guest_delegate.cc refactor: update WebContentsZoomController (#39428) 2023-08-15 10:33:30 +09:00
web_view_guest_delegate.h refactor: update WebContentsZoomController (#39428) 2023-08-15 10:33:30 +09:00
web_view_manager.cc chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
web_view_manager.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
window_list.cc
window_list.h
window_list_observer.h
zoom_level_delegate.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
zoom_level_delegate.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00