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

Issue 9599007: Minor refactoring of window resize code. I wasn't too happy with (Closed)

Created:
8 years, 9 months ago by sky
Modified:
8 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Minor refactoring of window resize code. I wasn't too happy with continuing to have WindowResizer expose logic for WorkspaceWindowResizer. Instead WindowResizer is pure virtual, with some common code in static methods that both implementations can use. This'll make the code for multi-window resizing more centralized. BUG=116079 TEST=refactoring covered by tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124939

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -720 lines) Patch
M ash/ash.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A + ash/wm/default_window_resizer.h View 1 2 chunks +24 lines, -93 lines 0 comments Download
A + ash/wm/default_window_resizer.cc View 2 chunks +31 lines, -307 lines 0 comments Download
M ash/wm/toplevel_window_event_filter.cc View 8 chunks +27 lines, -12 lines 0 comments Download
M ash/wm/window_resizer.h View 1 3 chunks +56 lines, -66 lines 0 comments Download
M ash/wm/window_resizer.cc View 8 chunks +104 lines, -128 lines 0 comments Download
M ash/wm/workspace/workspace_event_filter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.h View 1 2 chunks +39 lines, -14 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 3 chunks +111 lines, -54 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 10 chunks +81 lines, -44 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sky
8 years, 9 months ago (2012-03-04 23:20:36 UTC) #1
Ben Goodger (Google)
lgtm
8 years, 9 months ago (2012-03-05 00:26:52 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/9599007/13
8 years, 9 months ago (2012-03-05 05:42:54 UTC) #3
commit-bot: I haz the power
8 years, 9 months ago (2012-03-05 05:42:59 UTC) #4
Can't apply patch for file ash/wm/default_window_resizer.cc.
While running patch -p0 --forward --force;
patching file ash/wm/default_window_resizer.cc
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 17.
2 out of 2 hunks FAILED -- saving rejects to file
ash/wm/default_window_resizer.cc.rej

Powered by Google App Engine
This is Rietveld 408576698