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

Unified Diff: chrome/browser/browser_main.cc

Issue 6975045: touch: Always expect XInput2 availability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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 | « build/linux/system.gyp ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 264742a7048cd31eed11698adeac282bde47495d..eb9d3424e2375237d83a342e08a5a2f4e0b988f9 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -207,7 +207,7 @@
#include "ui/gfx/gtk_util.h"
#endif
-#if defined(TOUCH_UI) && defined(HAVE_XINPUT2)
+#if defined(TOUCH_UI)
#include "views/touchui/touch_factory.h"
#endif
@@ -1889,7 +1889,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
}
#endif
-#if defined(TOUCH_UI) && defined(HAVE_XINPUT2)
+#if defined(TOUCH_UI)
views::TouchFactory::GetInstance()->set_keep_mouse_cursor(
CommandLine::ForCurrentProcess()->HasSwitch(switches::kKeepMouseCursor));
#endif
@@ -1916,12 +1916,9 @@ int BrowserMain(const MainFunctionParams& parameters) {
// volume on the login screen.
chromeos::SystemKeyEventListener::GetInstance();
- // TODO(yusukes): Remove the #if once the ARM bot (crbug.com/84694) is fixed.
-#if defined(HAVE_XINPUT2)
// Listen for XI_HierarchyChanged events.
chromeos::XInputHierarchyChangedEventListener::GetInstance();
#endif
-#endif
// The extension service may be available at this point. If the command line
// specifies --uninstall-extension, attempt the uninstall extension startup
« no previous file with comments | « build/linux/system.gyp ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698