|
|
Remove Widget::OnRootViewLayout().
It was added early on in the development for Linux Aura (r222386) to
propagate min/max window size properties to the window server. However,
it never really worked right because mapping the x11 window is
asynchronous: there's no guarantee a layout would occur after the window
was mapped. This was fixed in r325538 (and moved around in r388040 and
r389572).
Furthermore, calls to SetBounds() will also update the min and max size
properties. This is since r283945 (and a fix for that in r350338), so
the associated OnRootViewLayout() call is redundant.
Mac was also using OnRootViewLayout() but r368141 added
OnWidgetInitDone() which is a better place to trigger this. Mac
stopped using OnRootViewLayout() in r432821.
BUG= 665280
TEST=Should be covered by WidgetTest.MinimumSizeConstraints added in
r325538
Committed: https://crrev.com/37ff93058a11ab26e575152d207b849c009a4a00
Cr-Commit-Position: refs/heads/master@{#433462}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+0 lines, -47 lines) |
Patch |
 |
M |
ui/views/mus/desktop_window_tree_host_mus.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_native_widget_aura.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_mac.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_mac.mm
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_private.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/root_view.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/root_view.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 19 (12 generated)
|