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

Unified Diff: ash/wm/toplevel_window_event_filter.h

Issue 9455063: Makes windows scale slightly when dragging the caption. Also wired (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes tests 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/focus_cycler.h ('k') | ash/wm/toplevel_window_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/toplevel_window_event_filter.h
diff --git a/ash/wm/toplevel_window_event_filter.h b/ash/wm/toplevel_window_event_filter.h
index 01bced71d2d3a364a5557068c22dfbb868eaeb5c..a7fdaf674141676141e880ad145e1bdee755cb0b 100644
--- a/ash/wm/toplevel_window_event_filter.h
+++ b/ash/wm/toplevel_window_event_filter.h
@@ -61,8 +61,13 @@ class ASH_EXPORT ToplevelWindowEventFilter :
int window_component);
private:
- // Invoked when the mouse is released to cleanup after a drag.
- void CompleteDrag(aura::Window* window);
+ enum DragCompletionStatus {
+ DRAG_COMPLETE,
+ DRAG_REVERT
+ };
+
+ // Finishes the drag.
+ void CompleteDrag(DragCompletionStatus status);
// Called during a drag to resize/position the window.
// The return value is returned by OnMouseEvent() above.
« no previous file with comments | « ash/focus_cycler.h ('k') | ash/wm/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698