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

Unified Diff: ash/wm/workspace/workspace_event_filter.cc

Issue 9599007: Minor refactoring of window resize code. I wasn't too happy with (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/workspace/workspace_window_resizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_event_filter.cc
===================================================================
--- ash/wm/workspace/workspace_event_filter.cc (revision 124905)
+++ ash/wm/workspace/workspace_event_filter.cc (working copy)
@@ -93,8 +93,8 @@
(window_component != HTCAPTION || GetTrackedByWorkspace(window))) {
return NULL;
}
- return
- new WorkspaceWindowResizer(window, point, window_component, grid_size());
+ return WorkspaceWindowResizer::Create(
+ window, point, window_component, grid_size());
}
void WorkspaceEventFilter::UpdateHoveredWindow(
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/workspace/workspace_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698