|
[Aura] Fix HtmlDialogBrowserTest.SizeWindow.
- Fix HtmlDialogBrowserTest.SizeWindow for Linux + Aura + Chromeos==0.
- Remove minimum_size_ from auralWindow and add an OnBoundsChanging to aura::WindowDelegate so that a delegate can apply bounds constriant;
- NativeWidgetAura uses OnBoundsChanging to apply Widget's minimum size;
- Remove minimum_size_ member from Widget because it is only used for widget with no frame (i.e. no non_client_view_) and such widget should have no minimum size;
BUG= 104412
TEST=Verify the HtmlDialogBrowserTest.SizeWindow should pass for Linux + Aura + Chromeos==0.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110608
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -111 lines) |
Patch |
 |
M |
chrome/browser/ui/views/html_dialog_view_browsertest.cc
|
View
|
1
2
|
10 chunks |
+45 lines, -76 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/demo/demo_main.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_window_delegate.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_window_delegate.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_delegate.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/toplevel_window_event_filter.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/toplevel_window_event_filter_unittest.cc
|
View
|
|
4 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/views/aura_desktop/aura_desktop_main.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
views/widget/native_widget_aura.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
views/widget/native_widget_aura.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
views/widget/widget.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
views/widget/widget.cc
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|