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

Unified Diff: ui/base/touch/multi_touch_device_x11.h

Issue 9773024: This patch implements Chromium's Aura gesture recognizer in terms of utouch-grail and utouch-frame … (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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/base/touch/multi_touch_device.cc ('k') | ui/base/touch/multi_touch_device_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/touch/multi_touch_device.cc ('k') | ui/base/touch/multi_touch_device_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698