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

Issue 8618009: Aura: Fix window resizing for large drags. (Closed)

Created:
9 years, 1 month ago by James Cook
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 window resizing for large drags. * Fix a DCHECK due to a negative width when resizing the right edge past the left one, and vice versa. * Fix the window moving when resizing its left edge past the minimum size, ditto for top edge. * Add unit tests for above. * Add GetMinimizeSize() method to aura::WindowDelegate interface. BUG=104245 TEST=aura_shell_unittests, manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111244

Patch Set 1 #

Total comments: 1

Patch Set 2 : refactor, remove OnBoundsChanging, more tests #

Patch Set 3 : fix HtmlDialogBrowserTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -84 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/aura/test/test_window_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/test_window_delegate.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/window.cc View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M ui/aura/window_delegate.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ui/aura_shell/toplevel_window_event_filter.h View 1 1 chunk +20 lines, -8 lines 0 comments Download
M ui/aura_shell/toplevel_window_event_filter.cc View 1 5 chunks +81 lines, -50 lines 0 comments Download
M ui/aura_shell/toplevel_window_event_filter_unittest.cc View 1 2 4 chunks +86 lines, -9 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
James Cook
Oshima/Xiyuan - just FYI. Ben, PTAL. If a window resize operation is clamped due to ...
9 years, 1 month ago (2011-11-21 23:39:04 UTC) #1
Ben Goodger (Google)
Also, how does this interact with the existing minsize stuff xiyuan did? http://codereview.chromium.org/8618009/diff/1/ui/aura_shell/toplevel_window_event_filter.cc File ui/aura_shell/toplevel_window_event_filter.cc ...
9 years, 1 month ago (2011-11-22 16:01:58 UTC) #2
James Cook
Ben, please take another look. I think this is as simple as I can write ...
9 years, 1 month ago (2011-11-22 19:45:36 UTC) #3
xiyuan
On 2011/11/22 19:45:36, James Cook (Chromium) wrote: > Ben, please take another look. I think ...
9 years, 1 month ago (2011-11-22 20:25:41 UTC) #4
James Cook
On 2011/11/22 20:25:41, xiyuan wrote: > On 2011/11/22 19:45:36, James Cook (Chromium) wrote: > > ...
9 years, 1 month ago (2011-11-22 21:02:43 UTC) #5
Ben Goodger (Google)
9 years, 1 month ago (2011-11-22 21:21:50 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698