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

Unified Diff: services/ui/ws/platform_display_delegate.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_default.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_delegate.h
diff --git a/services/ui/ws/platform_display_delegate.h b/services/ui/ws/platform_display_delegate.h
index 0a4b605953a87b6a1031122c47e55dc674038f8a..2140802e13bd9fa2b35a1a6ec2c3f76bffc45b52 100644
--- a/services/ui/ws/platform_display_delegate.h
+++ b/services/ui/ws/platform_display_delegate.h
@@ -11,7 +11,7 @@ class Display;
namespace ui {
-class Event;
+class EventSink;
namespace ws {
@@ -28,12 +28,12 @@ class PlatformDisplayDelegate {
// Returns the root window of this display.
virtual ServerWindow* GetRootWindow() = 0;
+ // Returns the event sink of this display;
+ virtual EventSink* GetEventSink() = 0;
+
// Called once when the AcceleratedWidget is available for drawing.
virtual void OnAcceleratedWidgetAvailable() = 0;
- // Called when an event arrives.
- virtual void OnEvent(const ui::Event& event) = 0;
-
// Called when the Display loses capture.
virtual void OnNativeCaptureLost() = 0;
« no previous file with comments | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698