Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Issue 8574049: [Aura] Fix HtmlDialogBrowserTest.SizeWindow. (Closed)

Created:
9 years, 1 month ago by xiyuan
Modified:
9 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., James Su, dhollowa, oshima
Visibility:
Public.

Description

[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

Patch Set 1 #

Patch Set 2 : fix aura bots #

Total comments: 4

Patch Set 3 : sync #

Patch Set 4 : fix bad merge #

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

Messages

Total messages: 6 (0 generated)
xiyuan
Ben, I hope I get you right. :) Please take a look. Thanks.
9 years, 1 month ago (2011-11-17 00:48:34 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/8574049/diff/1015/chrome/browser/ui/views/html_dialog_view_browsertest.cc File chrome/browser/ui/views/html_dialog_view_browsertest.cc (right): http://codereview.chromium.org/8574049/diff/1015/chrome/browser/ui/views/html_dialog_view_browsertest.cc#newcode51 chrome/browser/ui/views/html_dialog_view_browsertest.cc:51: if (should_quit_on_size_change_ && last_size_ != bounds.size()) { I guess ...
9 years, 1 month ago (2011-11-17 20:50:15 UTC) #2
Ben Goodger (Google)
Xiyuan explained the other platform situation. LGTM.
9 years, 1 month ago (2011-11-17 21:36:30 UTC) #3
xiyuan
Just for the record. :) http://codereview.chromium.org/8574049/diff/1015/chrome/browser/ui/views/html_dialog_view_browsertest.cc File chrome/browser/ui/views/html_dialog_view_browsertest.cc (right): http://codereview.chromium.org/8574049/diff/1015/chrome/browser/ui/views/html_dialog_view_browsertest.cc#newcode51 chrome/browser/ui/views/html_dialog_view_browsertest.cc:51: if (should_quit_on_size_change_ && last_size_ ...
9 years, 1 month ago (2011-11-17 22:05:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/8574049/3017
9 years, 1 month ago (2011-11-17 22:38:42 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 00:10:38 UTC) #6
Change committed as 110608

Powered by Google App Engine
This is Rietveld 408576698