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

Unified Diff: services/ui/ws/drag_cursor_updater.h

Issue 2376583003: mus: Keep track of the drag cursor during DnD operations. (Closed)
Patch Set: style Created 4 years, 3 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: services/ui/ws/drag_cursor_updater.h
diff --git a/services/ui/ws/drag_cursor_updater.h b/services/ui/ws/drag_cursor_updater.h
new file mode 100644
index 0000000000000000000000000000000000000000..dcc945ac02a303118e45a0acaad22aecf76d2beb
--- /dev/null
+++ b/services/ui/ws/drag_cursor_updater.h
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SERVICES_UI_WS_DRAG_CURSOR_UPDATER_H_
+#define SERVICES_UI_WS_DRAG_CURSOR_UPDATER_H_
+
+namespace ui {
+namespace ws {
+
+// An interface for the DragController to signal that the cursor has changed.
+class DragCursorUpdater {
+ public:
+ virtual void OnDragCursorUpdated() = 0;
+
+ protected:
+ virtual ~DragCursorUpdater() {}
+};
+
+} // namespace ws
+} // namespace ui
+
+#endif // SERVICES_UI_WS_DRAG_CURSOR_UPDATER_H_

Powered by Google App Engine
This is Rietveld 408576698