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

Unified Diff: services/ui/ws/test_utils.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 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
« no previous file with comments | « services/ui/ws/platform_display_delegate.h ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index e9a938e53f6570b0151432b8dfa585f3b61baa9f..831ff7e401c36c5dcf3db0f6adba58b4dc391d0e 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -137,7 +137,7 @@ class DisplayTestApi {
explicit DisplayTestApi(Display* display);
~DisplayTestApi();
- void OnEvent(const ui::Event& event) { display_->OnEvent(event); }
+ void OnEvent(ui::Event* event) { display_->OnEventFromSource(event); }
mojom::Cursor last_cursor() const { return display_->last_cursor_; }
« no previous file with comments | « services/ui/ws/platform_display_delegate.h ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698