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

Unified Diff: ash/wm/maximize_mode/internal_input_device_list_x11.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 | « ash/touch/touch_transformer_controller_unittest.cc ('k') | chrome/browser/chromeos/device_uma.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/internal_input_device_list_x11.cc
diff --git a/ash/wm/maximize_mode/internal_input_device_list_x11.cc b/ash/wm/maximize_mode/internal_input_device_list_x11.cc
index 8753f8259de932def03c1db588ebc14bce7ec559..93727ecf968f77b96dfa6f5b288f9d4e85875271 100644
--- a/ash/wm/maximize_mode/internal_input_device_list_x11.cc
+++ b/ash/wm/maximize_mode/internal_input_device_list_x11.cc
@@ -9,7 +9,7 @@
#include "base/strings/string_util.h"
#include "ui/events/event.h"
-#include "ui/events/x/device_data_manager.h"
+#include "ui/events/x/device_data_manager_x11.h"
#include "ui/events/x/device_list_cache_x.h"
#include "ui/gfx/x/x11_types.h"
@@ -26,7 +26,7 @@ const char kInternalKeyboardName[] = "AT Translated Set 2 keyboard";
} // namespace
InternalInputDeviceListX11::InternalInputDeviceListX11() {
- if (ui::DeviceDataManager::GetInstance()->IsXInput2Available()) {
+ if (ui::DeviceDataManagerX11::GetInstance()->IsXInput2Available()) {
XIDeviceList xi_dev_list = ui::DeviceListCacheX::GetInstance()->
GetXI2DeviceList(gfx::GetXDisplay());
for (int i = 0; i < xi_dev_list.count; ++i) {
« no previous file with comments | « ash/touch/touch_transformer_controller_unittest.cc ('k') | chrome/browser/chromeos/device_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698