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

Unified Diff: ui/aura/root_window_host_linux.cc

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, 9 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
Index: ui/aura/root_window_host_linux.cc
===================================================================
--- ui/aura/root_window_host_linux.cc (revision 126124)
+++ ui/aura/root_window_host_linux.cc (working copy)
@@ -388,6 +388,18 @@
if (!factory->ShouldProcessXI2Event(xev))
break;
+ // Update utouch frame state
+#if defined(USE_UTOUCH)
+ ui::TouchFactory::GetInstance()->ProcessXI2Event(xev);
+#else // USE_UTOUCH
rjkroege 2012/04/02 17:05:15 you should split out the change that is for the ex
+ // Update the device list if necessary.
+ if (xev->xgeneric.evtype == XI_HierarchyChanged) {
+ ui::UpdateDeviceList();
+ handled = true;
+ break;
+ }
sadrul 2012/04/03 19:52:01 This is already done in DispatcherLinux
+#endif // USE_UTOUCH
+
ui::EventType type = ui::EventTypeFromNative(xev);
// If this is a motion event we want to coalesce all pending motion
// events that are at the top of the queue.

Powered by Google App Engine
This is Rietveld 408576698