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

Unified Diff: ash/wm/drag_window_resizer.cc

Issue 11574041: Move WindowResizer to CoreWM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/drag_window_resizer.h ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_resizer.cc
===================================================================
--- ash/wm/drag_window_resizer.cc (revision 173169)
+++ ash/wm/drag_window_resizer.cc (working copy)
@@ -58,10 +58,11 @@
}
// static
-DragWindowResizer* DragWindowResizer::Create(WindowResizer* window_resizer,
- aura::Window* window,
- const gfx::Point& location,
- int window_component) {
+DragWindowResizer* DragWindowResizer::Create(
+ views::corewm::WindowResizer* window_resizer,
+ aura::Window* window,
+ const gfx::Point& location,
+ int window_component) {
Details details(window, location, window_component);
return details.is_resizable ?
new DragWindowResizer(window_resizer, details) : NULL;
@@ -122,8 +123,9 @@
return window_resizer_->GetTarget();
}
-DragWindowResizer::DragWindowResizer(WindowResizer* window_resizer,
- const Details& details)
+DragWindowResizer::DragWindowResizer(
+ views::corewm::WindowResizer* window_resizer,
+ const Details& details)
: window_resizer_(window_resizer),
details_(details),
destroyed_(NULL) {
« no previous file with comments | « ash/wm/drag_window_resizer.h ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698