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

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

Issue 1814533002: Use ui::Event instead of mojom::EventPtr in mash/wm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_eventptr
Patch Set: Created 4 years, 9 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 fe7a922c024d2876b08412a520e9dd73b88cdd74..e3c06d8d422fc02a72600a4ebbbdb2b8c31b72cd 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.cc
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc
@@ -113,9 +113,9 @@ Window* WindowServerTestBase::OnWmCreateTopLevelWindow(
: nullptr;
}
-void WindowServerTestBase::OnAccelerator(uint32_t id, mojom::EventPtr event) {
+void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) {
if (window_manager_delegate_)
- window_manager_delegate_->OnAccelerator(id, std::move(event));
+ window_manager_delegate_->OnAccelerator(id, event);
}
void WindowServerTestBase::Create(
« no previous file with comments | « components/mus/public/cpp/tests/window_server_test_base.h ('k') | components/mus/public/cpp/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698