Index: components/mus/public/cpp/tests/window_server_test_base.cc |
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc |
index 93394f79e1c3dfe10e2a283435a0eff535e5e7a6..b389b06911827750d2632c71916ca0b63f3164ac 100644 |
--- a/components/mus/public/cpp/tests/window_server_test_base.cc |
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc |
@@ -137,6 +137,22 @@ void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) { |
window_manager_delegate_->OnAccelerator(id, event); |
} |
+void WindowServerTestBase::OnWmPerformMoveLoop( |
+ ::mus::Window* window, |
+ ::mus::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(::mus::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)); |