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. |