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

Unified Diff: ash/wm/default_window_resizer.h

Issue 10008084: Add ctrl+drag feature for allowing resizing window with exact positioning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 8 years, 8 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 | « no previous file | ash/wm/default_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/default_window_resizer.h
diff --git a/ash/wm/default_window_resizer.h b/ash/wm/default_window_resizer.h
index ea7d114e338a41a43e900a2799df0f787b6956e2..7ce1f1f63173eae34b31feb8eb99237572b9313f 100644
--- a/ash/wm/default_window_resizer.h
+++ b/ash/wm/default_window_resizer.h
@@ -26,8 +26,7 @@ class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
// returned object. Returns NULL if not resizable.
static DefaultWindowResizer* Create(aura::Window* window,
const gfx::Point& location,
- int window_component,
- int grid_size);
+ int window_component);
// Returns true if the drag will result in changing the window in anyway.
bool is_resizable() const { return details_.is_resizable; }
@@ -38,8 +37,8 @@ class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
aura::Window* target_window() const { return details_.window; }
// WindowResizer overides:
- virtual void Drag(const gfx::Point& location) OVERRIDE;
- virtual void CompleteDrag() OVERRIDE;
+ virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE;
+ virtual void CompleteDrag(int event_flags) OVERRIDE;
virtual void RevertDrag() OVERRIDE;
private:
« no previous file with comments | « no previous file | ash/wm/default_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698