Index: ash/mus/frame/move_event_handler.h |
diff --git a/ash/mus/frame/move_event_handler.h b/ash/mus/frame/move_event_handler.h |
index db2f1f59ec54e785dd6f5ddaaded88c465f59cc6..e9dbc5cfd35d6651dab084a757b421580954aa9c 100644 |
--- a/ash/mus/frame/move_event_handler.h |
+++ b/ash/mus/frame/move_event_handler.h |
@@ -39,6 +39,19 @@ class MoveEventHandler : public ui::EventHandler, public aura::WindowObserver { |
aura::Window* aura_window); |
~MoveEventHandler() override; |
+ // Retrieves the MoveEventHandler for an existing WmWindow. |
+ static MoveEventHandler* GetForWindow(WmWindow* wm_window); |
+ |
+ // Attempts to start a drag if one is already not in progress. This passes |
sky
2016/06/24 19:42:02
nit: 'already not' -> 'not alreay'
|
+ // the call to the underlying WmToplevelWindowEventHandler. |
sky
2016/06/24 19:42:02
document what end_closure is.
|
+ void AttemptToStartDrag( |
+ const gfx::Point& point_in_parent, |
+ int window_component, |
+ const base::Callback<void(bool success)>& end_closure); |
+ |
+ // Reverts a manually started drag started with AttemptToStartDrag(). |
+ void RevertDrag(); |
+ |
private: |
// Removes observer and EventHandler installed on |root_window_|. |
void Detach(); |