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

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

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky 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
Index: services/ui/public/cpp/tests/test_window_tree.cc
diff --git a/services/ui/public/cpp/tests/test_window_tree.cc b/services/ui/public/cpp/tests/test_window_tree.cc
index 4fa2e80093e47dd53f47165f607a0a87a366eb98..888e8ae53fc5c220ace8c0473bf2417bc6fc14de 100644
--- a/services/ui/public/cpp/tests/test_window_tree.cc
+++ b/services/ui/public/cpp/tests/test_window_tree.cc
@@ -58,6 +58,9 @@ void TestWindowTree::SetClientArea(
void TestWindowTree::SetHitTestMask(uint32_t window_id,
const base::Optional<gfx::Rect>& mask) {}
+void TestWindowTree::SetCanAcceptDrops(uint32_t window_id, bool accepts_drops) {
+}
+
void TestWindowTree::SetWindowVisibility(uint32_t change_id,
uint32_t window_id,
bool visible) {
@@ -168,6 +171,13 @@ void TestWindowTree::GetCursorLocationMemory(
callback.Run(mojo::ScopedSharedBufferHandle());
}
+void TestWindowTree::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) {}
+
void TestWindowTree::PerformWindowMove(uint32_t change_id,
uint32_t window_id,
mojom::MoveLoopSource source,

Powered by Google App Engine
This is Rietveld 408576698