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

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: General patch cleanup. 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/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..75cf144ae5d58ba82b61934078369677e650e309 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,21 @@ void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) {
window_manager_delegate_->OnAccelerator(id, event);
}
+void WindowServerTestBase::OnWmPerformMoveLoop(
+ uint32_t change_id,
+ uint32_t window_id,
+ const gfx::Point& cursor_location) {
+ if (window_manager_delegate_) {
+ window_manager_delegate_->OnWmPerformMoveLoop(change_id, window_id,
+ cursor_location);
+ }
+}
+
+void WindowServerTestBase::OnWmCancelMoveLoop(uint32_t window_id) {
+ if (window_manager_delegate_)
+ window_manager_delegate_->OnWmCancelMoveLoop(window_id);
+}
+
void WindowServerTestBase::Create(shell::Connection* connection,
mojom::WindowTreeClientRequest request) {
new WindowTreeClient(this, nullptr, std::move(request));

Powered by Google App Engine
This is Rietveld 408576698