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

Unified Diff: ui/aura/env.cc

Issue 255823009: [WIP] ui/window: Master CL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index f701695738958abcfa6dd6e4753e31cf068fc7be..776f6fe0e3678e22cfea3d6a74c8d19683e652af 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -10,6 +10,10 @@
#include "ui/events/event_target_iterator.h"
#include "ui/events/platform/platform_event_source.h"
+#if defined(USE_OZONE)
+#include "ui/ozone/ozone_platform.h"
+#endif
+
namespace aura {
// static
@@ -70,6 +74,10 @@ bool Env::IsMouseButtonDown() const {
void Env::Init() {
ui::Compositor::Initialize();
+#if defined(USE_OZONE)
+ ui::OzonePlatform::Initialize();
+#endif
+
if (!ui::PlatformEventSource::GetInstance())
event_source_ = ui::PlatformEventSource::CreateDefault();
}
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/window_tree_host_ozone.cc » ('j') | ui/window/platform_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698