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

Side by Side Diff: services/ui/ws/current_drag_operation_source.h

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove stray mark 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_CURRENT_DRAG_OPERATION_SOURCE_H_
6 #define SERVICES_UI_WS_CURRENT_DRAG_OPERATION_SOURCE_H_
7
8 namespace ui {
9 namespace ws {
10
11 class DragTargetConnection;
12 class ServerWindow;
13 struct WindowId;
14
15 // An interface implemented by the object that caused a CurrentDragOperation to
16 // exist, and which acts as a delegate to it.
17 class CurrentDragOperationSource {
18 public:
19 virtual ~CurrentDragOperationSource() {}
20
21 // Called when a drag operation is completed.
22 virtual void OnDragOver(bool success) = 0;
sky 2016/09/06 21:11:27 On initial look I read this as 'drag moved ontop o
23
24 virtual ServerWindow* GetWindowById(const WindowId& id) = 0;
25
26 virtual DragTargetConnection* GetDragTargetWithRoot(
sky 2016/09/06 21:11:27 Document what this should do. I assume find deepes
27 const ServerWindow* window) = 0;
28 };
29
30 } // namespace ws
31 } // namespace ui
32
33 #endif // SERVICES_UI_WS_CURRENT_DRAG_OPERATION_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698