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

Unified Diff: ui/display/chromeos/ozone/display_configurator_ozone.cc

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « ui/display/chromeos/ozone/DEPS ('k') | ui/display/chromeos/ozone/native_display_delegate_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/ozone/display_configurator_ozone.cc
diff --git a/ui/display/chromeos/ozone/display_configurator_ozone.cc b/ui/display/chromeos/ozone/display_configurator_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..48f0792d541b2fae11b91c71a807f74c8b865017
--- /dev/null
+++ b/ui/display/chromeos/ozone/display_configurator_ozone.cc
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/display/chromeos/display_configurator.h"
+
+#include "ui/display/chromeos/ozone/touchscreen_delegate_ozone.h"
+#include "ui/display/types/chromeos/native_display_delegate.h"
+#include "ui/ozone/ozone_platform.h"
+
+namespace ui {
+
+void DisplayConfigurator::PlatformInitialize() {
+ InitializeDelegates(
+ ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate(),
+ scoped_ptr<TouchscreenDelegate>(new TouchscreenDelegateOzone()));
+}
+
+} // namespace ui
« no previous file with comments | « ui/display/chromeos/ozone/DEPS ('k') | ui/display/chromeos/ozone/native_display_delegate_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698