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

Unified Diff: ui/ozone/platform/dri/ozone_platform_dri.cc

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.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.cc b/ui/ozone/platform/dri/ozone_platform_dri.cc
index ce5587b1d841db9ec5ece7c407c017fa0bdcc31a..a9a5ae622cf916605d040086b84e7d716c7ea8fe 100644
--- a/ui/ozone/platform/dri/ozone_platform_dri.cc
+++ b/ui/ozone/platform/dri/ozone_platform_dri.cc
@@ -11,7 +11,8 @@ namespace ui {
OzonePlatformDri::OzonePlatformDri()
: cursor_factory_ozone_(&surface_factory_ozone_),
- event_factory_ozone_(&cursor_factory_ozone_) {}
+ event_factory_ozone_(&cursor_factory_ozone_),
+ window_factory_ozone_(&surface_factory_ozone_) {}
OzonePlatformDri::~OzonePlatformDri() {}
@@ -32,6 +33,10 @@ ui::CursorFactoryOzone* OzonePlatformDri::GetCursorFactoryOzone() {
return &cursor_factory_ozone_;
}
+ui::WindowFactoryOzone* OzonePlatformDri::GetWindowFactoryOzone() {
+ return &window_factory_ozone_;
+}
+
OzonePlatform* CreateOzonePlatformDri() { return new OzonePlatformDri; }
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698