Index: ui/base/touch/multi_touch_device_x11.h |
=================================================================== |
--- ui/base/touch/multi_touch_device_x11.h (revision 0) |
+++ ui/base/touch/multi_touch_device_x11.h (revision 0) |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012 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. |
+ |
+#ifndef UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
+#define UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
+#pragma once |
+ |
+#include <X11/extensions/XInput.h> |
+#include <X11/extensions/XInput2.h> |
+ |
+namespace ui { |
+ class MultiTouchDevice; |
+ |
+ // Assemble a multi-touch device from an XIDeviceInfo. |
+ // Returns true on success, false otherwise. |
+ bool xi_device_info_to_mt_device(XIDeviceInfo * info, |
+ MultiTouchDevice & out); |
+ |
+} // namespace ui |
+ |
+#endif // UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
+ |
Property changes on: ui/base/touch/multi_touch_device_x11.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |