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

Unified Diff: ui/aura/root_window_host_ozone.cc

Issue 44933002: Implement OzonePlatform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move back to ui/ozone, depend ui/gl and ui/aura on ozone, move init to gl & aura Created 7 years, 2 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/root_window_host_ozone.cc
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc
index 8d256970ccd0c33ae0add44a27bc588fdeabc2b7..7694a0587d5b75c96a68a60d7e9d7374211f1f9c 100644
--- a/ui/aura/root_window_host_ozone.cc
+++ b/ui/aura/root_window_host_ozone.cc
@@ -6,6 +6,7 @@
#include "ui/aura/root_window.h"
#include "ui/gfx/ozone/surface_factory_ozone.h"
+#include "ui/ozone/ozone_platform.h"
namespace aura {
@@ -14,6 +15,7 @@ RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds)
widget_(0),
bounds_(bounds),
factory_(ui::EventFactoryOzone::GetInstance()) {
kalyank 2013/10/30 23:21:15 We try to retrieve eventfactory instance before oz
spang 2013/10/31 00:38:24 Fixed. Was hitting a fallback that we should remov
+ ui::OzonePlatform::Initialize();
factory_->CreateStartupEventConverters();
gfx::SurfaceFactoryOzone* surface_factory =
gfx::SurfaceFactoryOzone::GetInstance();
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698