Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: ui/aura/window_tree_host_ozone.h

Issue 205433005: ozone: Add OzoneWindowFactory & OzoneWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698