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

Unified Diff: ui/ozone/ozone_platform.cc

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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/gfx/BUILD.gn ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone_platform.cc
diff --git a/ui/ozone/ozone_platform.cc b/ui/ozone/ozone_platform.cc
index 358556497938d2e4f7b04106c446b755b8d5cae8..ab21af9992c2efd1e2cd8afa2e427de99db157cc 100644
--- a/ui/ozone/ozone_platform.cc
+++ b/ui/ozone/ozone_platform.cc
@@ -5,6 +5,7 @@
#include "base/command_line.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
+#include "ui/events/device_data_manager.h"
#include "ui/ozone/ozone_platform.h"
#include "ui/ozone/ozone_switches.h"
#include "ui/ozone/platform_object.h"
@@ -38,6 +39,9 @@ void OzonePlatform::InitializeForUI() {
return;
g_platform_initialized_ui = true;
instance_->InitializeUI();
+ // This is deliberately created after initializing so that the platform can
+ // create its own version of DDM.
+ DeviceDataManager::CreateInstance();
}
// static
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/views/controls/menu/menu_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698