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

Unified Diff: ui/ozone/ozone_platform.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/ozone_platform.cc
diff --git a/ui/ozone/ozone_platform.cc b/ui/ozone/ozone_platform.cc
index 53016cd05edf31327856bab14b9a113f3d9a32a8..3176bdc2ae014c1d59297137c618b959e0424b39 100644
--- a/ui/ozone/ozone_platform.cc
+++ b/ui/ozone/ozone_platform.cc
@@ -9,6 +9,7 @@
#include "ui/ozone/ozone_platform.h"
#include "ui/ozone/ozone_platform_list.h"
#include "ui/ozone/ozone_switches.h"
+#include "ui/ozone/window/window_factory_ozone.h"
namespace ui {
@@ -43,6 +44,7 @@ OzonePlatform::~OzonePlatform() {
gfx::SurfaceFactoryOzone::SetInstance(NULL);
ui::EventFactoryOzone::SetInstance(NULL);
ui::CursorFactoryOzone::SetInstance(NULL);
+ ui::WindowFactoryOzone::SetInstance(NULL);
}
// static
@@ -62,6 +64,7 @@ void OzonePlatform::Initialize() {
ui::InputMethodContextFactoryOzone::SetInstance(
instance_->GetInputMethodContextFactoryOzone());
ui::CursorFactoryOzone::SetInstance(instance_->GetCursorFactoryOzone());
+ ui::WindowFactoryOzone::SetInstance(instance_->GetWindowFactoryOzone());
}
// static

Powered by Google App Engine
This is Rietveld 408576698