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

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, 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/aura/root_window_host_linux.h ('k') | ui/base/ime/ibus_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,11 @@
if (!factory->ShouldProcessXI2Event(xev))
break;
+ // Update utouch frame state
+#if defined(USE_UTOUCH)
+ ui::TouchFactory::GetInstance()->ProcessXI2Event(xev);
+#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.
@@ -620,6 +625,10 @@
XSendEvent(xdisplay_, xwindow_, False, 0, &xevent);
}
+aura::NativeHandle RootWindowHostLinux::GetNativeWindow() const {
+ return xwindow_;
+}
+
bool RootWindowHostLinux::IsWindowManagerPresent() {
// Per ICCCM 2.8, "Manager Selections", window managers should take ownership
// of WM_Sn selections (where n is a screen number).
« no previous file with comments | « ui/aura/root_window_host_linux.h ('k') | ui/base/ime/ibus_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698