| 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 0358573ffcfa7cdbb2dda4cc0ad503fdb0ce0eec..4d2de6f8479948fb46f049a7c102d588009e4ae2 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 EventProcessor;
|
|
|
| namespace ws {
|
|
|
| @@ -28,14 +28,14 @@ class PlatformDisplayDelegate {
|
| // Returns the root window of this display.
|
| virtual ServerWindow* GetRootWindow() = 0;
|
|
|
| + // Returns a ui::EventProcessor for receiving events from PlatformDisplay.
|
| + virtual ui::EventProcessor* GetEventProcessor() = 0;
|
| +
|
| // Called once when the AcceleratedWidget is available for drawing.
|
| virtual void OnAcceleratedWidgetAvailable() = 0;
|
|
|
| virtual bool IsInHighContrastMode() = 0;
|
|
|
| - // Called when an event arrives.
|
| - virtual void OnEvent(const ui::Event& event) = 0;
|
| -
|
| // Called when the Display loses capture.
|
| virtual void OnNativeCaptureLost() = 0;
|
|
|
|
|