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

Unified Diff: services/ui/public/cpp/tests/test_window_tree.h

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more comments 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 | « services/ui/public/cpp/in_flight_change.cc ('k') | services/ui/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/tests/test_window_tree.h
diff --git a/services/ui/public/cpp/tests/test_window_tree.h b/services/ui/public/cpp/tests/test_window_tree.h
index 94972ea959fdbcddcafe3ea76c4231e7711be84c..1929576b9e27f79bb4ccebabfcafe09ebf5d79dc 100644
--- a/services/ui/public/cpp/tests/test_window_tree.h
+++ b/services/ui/public/cpp/tests/test_window_tree.h
@@ -48,6 +48,7 @@ class TestWindowTree : public mojom::WindowTree {
mojo::Array<gfx::Rect> additional_client_areas) override;
void SetHitTestMask(uint32_t window_id,
const base::Optional<gfx::Rect>& mask) override;
+ void SetCanAcceptDrops(uint32_t window_id, bool accepts_drags) override;
void SetWindowVisibility(uint32_t change_id,
uint32_t window_id,
bool visible) override;
@@ -102,6 +103,11 @@ class TestWindowTree : public mojom::WindowTree {
override;
void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
override;
+ void PerformDragDrop(uint32_t change_id,
+ uint32_t source_window_id,
+ int32_t drag_pointer,
+ mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
+ uint32_t drag_operation) override;
void PerformWindowMove(uint32_t change_id,
uint32_t window_id,
mojom::MoveLoopSource source,
« no previous file with comments | « services/ui/public/cpp/in_flight_change.cc ('k') | services/ui/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698