Index: chrome/browser/chromeos/frame/panel_controller.cc |
diff --git a/chrome/browser/chromeos/frame/panel_controller.cc b/chrome/browser/chromeos/frame/panel_controller.cc |
index 66b3ffb2c4a121d704131085611e551d0a7ca498..71c15af71624d45bdd5ce8b7245924860b23134e 100644 |
--- a/chrome/browser/chromeos/frame/panel_controller.cc |
+++ b/chrome/browser/chromeos/frame/panel_controller.cc |
@@ -6,10 +6,8 @@ |
#if defined(TOUCH_UI) |
#include <X11/Xlib.h> |
-#if defined(HAVE_XINPUT2) |
#include <X11/extensions/XInput2.h> |
#endif |
-#endif |
#include <vector> |
@@ -49,7 +47,6 @@ gfx::Point RootLocationFromXEvent(const XEvent* xev) { |
case MotionNotify: |
return gfx::Point(xev->xmotion.x_root, xev->xmotion.y_root); |
-#if defined(HAVE_XINPUT2) |
case GenericEvent: { |
const XIDeviceEvent* xiev = |
static_cast<XIDeviceEvent*>(xev->xcookie.data); |
@@ -61,7 +58,6 @@ gfx::Point RootLocationFromXEvent(const XEvent* xev) { |
static_cast<int>(xiev->root_y)); |
} |
} |
-#endif // defined(HAVE_XINPUT2) |
default: |
NOTREACHED(); |