Index: services/ui/public/cpp/tests/window_server_test_base.cc |
diff --git a/services/ui/public/cpp/tests/window_server_test_base.cc b/services/ui/public/cpp/tests/window_server_test_base.cc |
index bdb64dd46a44356f87bf390395670552adeb05c2..403127497ac6099cd3a37b368a5aa6b37c1f5fe9 100644 |
--- a/services/ui/public/cpp/tests/window_server_test_base.cc |
+++ b/services/ui/public/cpp/tests/window_server_test_base.cc |
@@ -136,6 +136,22 @@ void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) { |
window_manager_delegate_->OnAccelerator(id, event); |
} |
+void WindowServerTestBase::OnWmPerformMoveLoop( |
+ Window* window, |
+ mojom::MoveLoopSource source, |
+ const gfx::Point& cursor_location, |
+ const base::Callback<void(bool)>& on_done) { |
+ if (window_manager_delegate_) { |
+ window_manager_delegate_->OnWmPerformMoveLoop(window, source, |
+ cursor_location, on_done); |
+ } |
+} |
+ |
+void WindowServerTestBase::OnWmCancelMoveLoop(Window* window) { |
+ if (window_manager_delegate_) |
+ window_manager_delegate_->OnWmCancelMoveLoop(window); |
+} |
+ |
void WindowServerTestBase::Create(shell::Connection* connection, |
mojom::WindowTreeClientRequest request) { |
new WindowTreeClient(this, nullptr, std::move(request)); |