| Index: services/ui/ws/platform_display_default.h
|
| diff --git a/services/ui/ws/platform_display_default.h b/services/ui/ws/platform_display_default.h
|
| index 399594c03f9db6f83a73254dde4854c76a6cbd0c..9478b463f1771aae0d862b7bb948b7fc12b1a628 100644
|
| --- a/services/ui/ws/platform_display_default.h
|
| +++ b/services/ui/ws/platform_display_default.h
|
| @@ -18,6 +18,7 @@
|
|
|
| namespace ui {
|
|
|
| +class EventSink;
|
| class ImageCursors;
|
| class LocatedEvent;
|
| class PlatformWindow;
|
| @@ -34,6 +35,9 @@ class PlatformDisplayDefault : public PlatformDisplay,
|
| const display::ViewportMetrics& metrics);
|
| ~PlatformDisplayDefault() override;
|
|
|
| + // EventSource::
|
| + EventSink* GetEventSink() override;
|
| +
|
| // PlatformDisplay:
|
| void Init(PlatformDisplayDelegate* delegate) override;
|
| void SetViewportSize(const gfx::Size& size) override;
|
| @@ -54,6 +58,7 @@ class PlatformDisplayDefault : public PlatformDisplay,
|
| // updated to be (1900, 200).
|
| // TODO(riajiang): This is totally broken with HDPI.
|
| void UpdateEventRootLocation(ui::LocatedEvent* event);
|
| + void DispatchEventToDelegate(const ui::Event& event);
|
|
|
| // ui::PlatformWindowDelegate:
|
| void OnBoundsChanged(const gfx::Rect& new_bounds) override;
|
|
|