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

Unified Diff: services/ui/public/cpp/window.h

Issue 2349973010: mus drag and drop: return the completed effect to the caller. (Closed)
Patch Set: 80 chars 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
« no previous file with comments | « no previous file | services/ui/public/cpp/window.cc » ('j') | services/ui/ws/window_tree.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window.h
diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
index ada2cf63b6d41fa6b66259dde8fe81c4522f84da..de544387468d6dee38a682ac9fba7a879f3c33af 100644
--- a/services/ui/public/cpp/window.h
+++ b/services/ui/public/cpp/window.h
@@ -231,14 +231,15 @@ class Window {
// to a better place.
void RequestClose();
- // Starts an inter-process drag and drop operation.
+ // Starts an inter-process drag and drop operation. When this finishes, will
+ // return the tuple [success, action_taken] to |callback|.
sky 2016/09/20 21:42:03 Document what action_take corresponds to.
Elliot Glaysher 2016/09/20 22:05:25 Done.
void PerformDragDrop(
int drag_pointer,
const std::map<std::string, std::vector<uint8_t>>& drag_data,
int drag_operation,
const gfx::Point& cursor_location,
const SkBitmap& bitmap,
- const base::Callback<void(bool)>& callback);
+ const base::Callback<void(bool, uint32_t)>& callback);
// Tells the window manager to take control of moving the window. Returns
// true if the move wasn't canceled.
« no previous file with comments | « no previous file | services/ui/public/cpp/window.cc » ('j') | services/ui/ws/window_tree.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698