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

Unified Diff: ash/wm/default_window_resizer.h

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/screen_ash.cc ('k') | ash/wm/drag_window_resizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/default_window_resizer.h
===================================================================
--- ash/wm/default_window_resizer.h (revision 173169)
+++ ash/wm/default_window_resizer.h (working copy)
@@ -5,15 +5,16 @@
#ifndef ASH_WM_DEFAULT_WINDOW_RESIZER_H_
#define ASH_WM_DEFAULT_WINDOW_RESIZER_H_
-#include "ash/wm/window_resizer.h"
+#include "ash/ash_export.h"
#include "base/compiler_specific.h"
+#include "ui/views/corewm/window_resizer.h"
namespace ash {
-// WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving
-// or resizing a window. All coordinates passed to this are in the parent
-// windows coordiantes.
-class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
+// views::corewm::WindowResizer is used by ToplevelWindowEventFilter to handle
+// dragging, moving or resizing a window. All coordinates passed to this are in
+// the parent windows coordinates.
+class ASH_EXPORT DefaultWindowResizer : public views::corewm::WindowResizer {
public:
virtual ~DefaultWindowResizer();
@@ -31,7 +32,7 @@
}
aura::Window* target_window() const { return details_.window; }
- // WindowResizer overides:
+ // views::corewm::WindowResizer overides:
virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE;
virtual void CompleteDrag(int event_flags) OVERRIDE;
virtual void RevertDrag() OVERRIDE;
« no previous file with comments | « ash/screen_ash.cc ('k') | ash/wm/drag_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698