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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2764963003: aura-mus: add a drag representation image. (Closed)
Patch Set: Patch cleanup. Created 3 years, 9 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/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index 61d19322cad1653c407ee0b56d0ba205594548b2..c8f3ed8d9d98a45e7f1e3fda38ad2b5c029ed007 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -231,6 +231,19 @@ void TestWindowManager::WmCreateTopLevelWindow(
void TestWindowManager::WmClientJankinessChanged(ClientSpecificId client_id,
bool janky) {}
+void TestWindowManager::WmBuildDragImage(const gfx::Point& cursor_location,
+ const SkBitmap& drag_image,
+ const gfx::Vector2d& drag_image_offset,
+ ui::mojom::DragEventSource source) {}
+
+void TestWindowManager::WmMoveDragImage(
+ const gfx::Point& cursor_location,
+ const WmMoveDragImageCallback& callback) {
+ callback.Run();
+}
+
+void TestWindowManager::WmDestroyDragImage() {}
+
void TestWindowManager::WmPerformMoveLoop(uint32_t change_id,
uint32_t window_id,
mojom::MoveLoopSource source,

Powered by Google App Engine
This is Rietveld 408576698