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

Unified Diff: ui/aura/mus/drag_drop_controller_host.h

Issue 2455963006: Wires up drag/drop for aura-mus (Closed)
Patch Set: twweaks Created 4 years, 2 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 | « ui/aura/client/drag_drop_delegate.cc ('k') | ui/aura/mus/drag_drop_controller_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/drag_drop_controller_host.h
diff --git a/ui/aura/mus/drag_drop_controller_host.h b/ui/aura/mus/drag_drop_controller_host.h
new file mode 100644
index 0000000000000000000000000000000000000000..ba33ad928abe3f7cc4e5cdb52b63dd8a86cdbe4e
--- /dev/null
+++ b/ui/aura/mus/drag_drop_controller_host.h
@@ -0,0 +1,28 @@
+// 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 UI_AURA_MUS_DRAG_DROP_CONTROLLER_HOST_H_
+#define UI_AURA_MUS_DRAG_DROP_CONTROLLER_HOST_H_
+
+#include <stdint.h>
+
+#include "ui/aura/aura_export.h"
+
+namespace aura {
+
+class WindowMus;
+
+// Used by DragDropControllerMus to create a change id when a drag starts that
+// is sent to ui::mojom::WindowTree.
+class AURA_EXPORT DragDropControllerHost {
+ public:
+ virtual uint32_t CreateChangeIdForDrag(WindowMus* window) = 0;
+
+ protected:
+ virtual ~DragDropControllerHost() {}
+};
+
+} // namespace aura
+
+#endif // UI_AURA_MUS_DRAG_DROP_CONTROLLER_HOST_H_
« no previous file with comments | « ui/aura/client/drag_drop_delegate.cc ('k') | ui/aura/mus/drag_drop_controller_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698