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 88736f335248e050ff0a1cf62b18b95bbb6c35ea..e52654f08526b7a7afc36b537e31630f1dcd57cc 100644 |
--- a/ui/aura/window_tree_host_ozone.h |
+++ b/ui/aura/window_tree_host_ozone.h |
@@ -24,6 +24,12 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost, |
explicit WindowTreeHostOzone(const gfx::Rect& bounds); |
virtual ~WindowTreeHostOzone(); |
+ protected: |
+ // Translates the native mouse location into screen coordinates. |
+ virtual void TranslateLocatedEvent(ui::LocatedEvent* event); |
+ |
+ const gfx::Rect bounds() const { return bounds_; } |
spang
2014/11/04 23:27:23
Please use the existing function GetBounds().
|
+ |
private: |
// ui::PlatformWindowDelegate: |
virtual void OnBoundsChanged(const gfx::Rect&) OVERRIDE; |
@@ -61,6 +67,9 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost, |
// The identifier used to create a compositing surface. |
gfx::AcceleratedWidget widget_; |
+ // The bounds of |platform_window_|. |
+ gfx::Rect bounds_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); |
}; |