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

Unified Diff: components/mus/public/cpp/window_manager_delegate.h

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: General patch cleanup. Created 4 years, 6 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
Index: components/mus/public/cpp/window_manager_delegate.h
diff --git a/components/mus/public/cpp/window_manager_delegate.h b/components/mus/public/cpp/window_manager_delegate.h
index 99ddf34cc4e10daae412fa917ebd078bebe9c909..907b5a220550c36794dd0227739b489c55cc84aa 100644
--- a/components/mus/public/cpp/window_manager_delegate.h
+++ b/components/mus/public/cpp/window_manager_delegate.h
@@ -56,6 +56,9 @@ class WindowManagerClient {
Window* window,
const gfx::Vector2d& offset,
const gfx::Insets& hit_area) = 0;
+ virtual void OnWmMoveLoopCompleted(uint32_t change_id,
+ uint32_t window_id,
+ bool completed) = 0;
protected:
virtual ~WindowManagerClient() {}
@@ -107,6 +110,12 @@ class WindowManagerDelegate {
virtual void OnAccelerator(uint32_t id, const ui::Event& event) = 0;
+ virtual void OnWmPerformMoveLoop(uint32_t change_id,
+ uint32_t window_id,
+ const gfx::Point& cursor_location) = 0;
+
+ virtual void OnWmCancelMoveLoop(uint32_t window_id) = 0;
+
protected:
virtual ~WindowManagerDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698