Index: ui/aura/window_tree_host_ozone.h |
diff --git a/ui/aura/window_tree_host_ozone.h b/ui/aura/window_tree_host_ozone.h |
index 716ff7a83c24b6b15fec663ee7f610c706c3d9f9..e4fcd02d936ee0ed921a4d381aa245a48c95658e 100644 |
--- a/ui/aura/window_tree_host_ozone.h |
+++ b/ui/aura/window_tree_host_ozone.h |
@@ -26,7 +26,20 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost, |
protected: |
// WindowTreeHost: |
+ ui::EventSource* GetEventSource() override; |
+ gfx::AcceleratedWidget GetAcceleratedWidget() override; |
+ void Show() override; |
+ void Hide() override; |
gfx::Rect GetBounds() const override; |
+ void SetBounds(const gfx::Rect& bounds) override; |
+ gfx::Point GetLocationOnNativeScreen() const override; |
+ void SetCapture() override; |
+ void ReleaseCapture() override; |
+ void SetCursorNative(gfx::NativeCursor cursor_type) override; |
+ void MoveCursorToNative(const gfx::Point& location) override; |
+ void OnCursorVisibilityChangedNative(bool show) override; |
+ |
+ ui::PlatformWindow* platform_window() { return platform_window_.get(); } |
private: |
// ui::PlatformWindowDelegate: |
@@ -40,19 +53,6 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost, |
void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) override; |
void OnActivationChanged(bool active) override; |
- // WindowTreeHost: |
- ui::EventSource* GetEventSource() override; |
- gfx::AcceleratedWidget GetAcceleratedWidget() override; |
- void Show() override; |
- void Hide() override; |
- void SetBounds(const gfx::Rect& bounds) override; |
- gfx::Point GetLocationOnNativeScreen() const override; |
- void SetCapture() override; |
- void ReleaseCapture() override; |
- void SetCursorNative(gfx::NativeCursor cursor_type) override; |
- void MoveCursorToNative(const gfx::Point& location) override; |
- void OnCursorVisibilityChangedNative(bool show) override; |
- |
// ui::EventSource overrides. |
ui::EventProcessor* GetEventProcessor() override; |