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

Unified Diff: components/mus/ws/test_utils.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OnWmMoveLoopComplete() -> WmResponse() and use change_id instead of window_id in cancel. Created 4 years, 6 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: components/mus/ws/test_utils.cc
diff --git a/components/mus/ws/test_utils.cc b/components/mus/ws/test_utils.cc
index 78f7d4714d3b3f4bcf929a74d29b63563c53b941..c363317cd9b28b470c19b18c55f7971c47d8ba38 100644
--- a/components/mus/ws/test_utils.cc
+++ b/components/mus/ws/test_utils.cc
@@ -166,6 +166,15 @@ void TestWindowManager::WmCreateTopLevelWindow(
void TestWindowManager::WmClientJankinessChanged(ClientSpecificId client_id,
bool janky) {}
+void TestWindowManager::WmPerformMoveLoop(uint32_t change_id,
+ uint32_t window_id,
+ ::mus::mojom::MoveLoopSource source,
+ const gfx::Point& cursor_location) {
+ on_perform_move_loop_called_ = true;
+}
+
+void TestWindowManager::WmCancelMoveLoop(uint32_t window_id) {}
+
void TestWindowManager::OnAccelerator(uint32_t id,
std::unique_ptr<ui::Event> event) {
on_accelerator_called_ = true;

Powered by Google App Engine
This is Rietveld 408576698