Index: components/mus/ws/test_utils.cc |
diff --git a/components/mus/ws/test_utils.cc b/components/mus/ws/test_utils.cc |
index ada01b34fbe754b6fa565795dd91c4bc7170dd44..278c6615174e8cc5fad2fd9f8ff6148b852eeed0 100644 |
--- a/components/mus/ws/test_utils.cc |
+++ b/components/mus/ws/test_utils.cc |
@@ -165,6 +165,14 @@ void TestWindowManager::WmCreateTopLevelWindow( |
void TestWindowManager::WmClientJankinessChanged(ClientSpecificId client_id, |
bool janky) {} |
+void TestWindowManager::WmPerformMoveLoop(uint32_t change_id, |
+ uint32_t window_id, |
+ 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; |
@@ -298,6 +306,12 @@ void TestWindowTreeClient::OnChangeCompleted(uint32_t change_id, bool success) { |
tracker_.OnChangeCompleted(change_id, success); |
} |
+void TestWindowTreeClient::OnMoveLoopCompleted(uint32_t change_id, |
+ bool success) { |
+ if (record_on_change_completed_) |
+ tracker_.OnChangeCompleted(change_id, success); |
+} |
+ |
void TestWindowTreeClient::RequestClose(uint32_t window_id) {} |
void TestWindowTreeClient::GetWindowManager( |