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 4f4c7093452c87f49d2de5f8f9bde7d0efa8fc87..e13aafe8fcf4b6c16cd2de886e4183bfc1151b54 100644 |
--- a/ui/aura/window_tree_host_ozone.h |
+++ b/ui/aura/window_tree_host_ozone.h |
@@ -14,13 +14,17 @@ |
#include "ui/gfx/insets.h" |
#include "ui/gfx/rect.h" |
+namespace ui { |
+class OzoneWindow; |
+} |
+ |
namespace aura { |
class WindowTreeHostOzone : public WindowTreeHost, |
public ui::EventSource, |
public base::MessagePumpDispatcher { |
public: |
- explicit WindowTreeHostOzone(const gfx::Rect& bounds); |
+ explicit WindowTreeHostOzone(scoped_ptr<ui::OzoneWindow> ozone_window); |
virtual ~WindowTreeHostOzone(); |
private: |
@@ -52,8 +56,7 @@ class WindowTreeHostOzone : public WindowTreeHost, |
// ui::EventSource overrides. |
virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
- gfx::AcceleratedWidget widget_; |
- gfx::Rect bounds_; |
+ scoped_ptr<ui::OzoneWindow> ozone_window_; |
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); |
}; |