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

Unified Diff: ui/ozone/platform/dri/ozone_platform_dri.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/ozone/platform/dri/ozone_platform_dri.h
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.h b/ui/ozone/platform/dri/ozone_platform_dri.h
index 0ee86509b5fc8de9ed0b145a2efe788e4fd30533..046f673ac81c011ef8c9efd362493e2415d63fbf 100644
--- a/ui/ozone/platform/dri/ozone_platform_dri.h
+++ b/ui/ozone/platform/dri/ozone_platform_dri.h
@@ -9,6 +9,7 @@
#include "ui/gfx/ozone/dri/dri_surface_factory.h"
#include "ui/ozone/ozone_platform.h"
#include "ui/ozone/platform/dri/cursor_factory_evdev_dri.h"
+#include "ui/ozone/platform/dri/window_factory_dri.h"
namespace ui {
@@ -26,6 +27,7 @@ class OzonePlatformDri : public OzonePlatform {
virtual ui::InputMethodContextFactoryOzone*
GetInputMethodContextFactoryOzone() OVERRIDE;
virtual ui::CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE;
+ virtual ui::WindowFactoryOzone* GetWindowFactoryOzone() OVERRIDE;
private:
gfx::DriSurfaceFactory surface_factory_ozone_;
@@ -33,6 +35,7 @@ class OzonePlatformDri : public OzonePlatform {
ui::EventFactoryEvdev event_factory_ozone_;
// This creates a minimal input context.
ui::InputMethodContextFactoryOzone input_method_context_factory_ozone_;
+ ui::WindowFactoryDri window_factory_ozone_;
DISALLOW_COPY_AND_ASSIGN(OzonePlatformDri);
};

Powered by Google App Engine
This is Rietveld 408576698