94585f5889
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. |
||
---|---|---|
.. | ||
autofill_popup_view.cc | ||
autofill_popup_view.h | ||
client_frame_view_linux.cc | ||
client_frame_view_linux.h | ||
electron_views_delegate.cc | ||
electron_views_delegate.h | ||
electron_views_delegate_win.cc | ||
frameless_view.cc | ||
frameless_view.h | ||
global_menu_bar_registrar_x11.cc | ||
global_menu_bar_registrar_x11.h | ||
global_menu_bar_x11.cc | ||
global_menu_bar_x11.h | ||
inspectable_web_contents_view_views.cc | ||
inspectable_web_contents_view_views.h | ||
menu_bar.cc | ||
menu_bar.h | ||
menu_delegate.cc | ||
menu_delegate.h | ||
menu_model_adapter.cc | ||
menu_model_adapter.h | ||
native_frame_view.cc | ||
native_frame_view.h | ||
root_view.cc | ||
root_view.h | ||
submenu_button.cc | ||
submenu_button.h | ||
win_caption_button.cc | ||
win_caption_button.h | ||
win_caption_button_container.cc | ||
win_caption_button_container.h | ||
win_frame_view.cc | ||
win_frame_view.h | ||
win_icon_painter.cc | ||
win_icon_painter.h |