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

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: Uploaded for a few comments. Created 4 years, 4 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..b9d71e128abd0ca001b87290d22d46630741a500 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::SetCanAcceptDrags(uint32_t window_id, bool accepts_drags) {
+}
+
void TestWindowTree::SetWindowVisibility(uint32_t change_id,
uint32_t window_id,
bool visible) {
@@ -168,6 +171,14 @@ void TestWindowTree::GetCursorLocationMemory(
callback.Run(mojo::ScopedSharedBufferHandle());
}
+void TestWindowTree::PerformDragDrop(
+ uint32_t change_id,
+ uint32_t source_window_id,
+ mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
+ uint32_t drag_operation,
+ const gfx::Point& cursor_offset,
+ const SkBitmap& drag_representation) {}
+
void TestWindowTree::PerformWindowMove(uint32_t change_id,
uint32_t window_id,
mojom::MoveLoopSource source,

Powered by Google App Engine
This is Rietveld 408576698