| 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 54d36d8b5e860bd2c47674e1a2b075a7af056472..9b72172c49b175585f619d641d9d47c819ab1556 100644
|
| --- a/services/ui/ws/platform_display_default.h
|
| +++ b/services/ui/ws/platform_display_default.h
|
| @@ -13,6 +13,7 @@
|
| #include "services/ui/ws/frame_generator_delegate.h"
|
| #include "services/ui/ws/platform_display.h"
|
| #include "services/ui/ws/platform_display_delegate.h"
|
| +#include "ui/events/event_source.h"
|
| #include "ui/platform_window/platform_window_delegate.h"
|
|
|
| namespace ui {
|
| @@ -25,6 +26,7 @@ namespace ws {
|
| // PlatformDisplay implementation that connects to a PlatformWindow and
|
| // FrameGenerator for Chrome OS.
|
| class PlatformDisplayDefault : public PlatformDisplay,
|
| + public ui::EventSource,
|
| public ui::PlatformWindowDelegate,
|
| public FrameGeneratorDelegate {
|
| public:
|
| @@ -55,6 +57,9 @@ class PlatformDisplayDefault : public PlatformDisplay,
|
| // TODO(riajiang): This is totally broken with HDPI.
|
| void UpdateEventRootLocation(ui::LocatedEvent* event);
|
|
|
| + // ui::EventSource:
|
| + ui::EventProcessor* GetEventProcessor() override;
|
| +
|
| // ui::PlatformWindowDelegate:
|
| void OnBoundsChanged(const gfx::Rect& new_bounds) override;
|
| void OnDamageRect(const gfx::Rect& damaged_region) override;
|
|
|