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

Unified Diff: ui/aura/window_tree_host_x11.h

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rework Created 6 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
Index: ui/aura/window_tree_host_x11.h
diff --git a/ui/aura/window_tree_host_x11.h b/ui/aura/window_tree_host_x11.h
index 31232b1270072315d88a17c578b475c39e6e2ed7..34e1603b1915d13b1ca7331af270554742476808 100644
--- a/ui/aura/window_tree_host_x11.h
+++ b/ui/aura/window_tree_host_x11.h
@@ -64,7 +64,7 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
// Called when X Configure Notify event is recevied.
virtual void OnConfigureNotify();
- // Translates the native mouse location into screen coordinates and and
+ // Translates the native mouse location into screen coordinates and
// dispatches the event via WindowEventDispatcher.
virtual void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event);
@@ -74,6 +74,8 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
ui::X11AtomCache* atom_cache() { return &atom_cache_; }
private:
+ bool IsTouchEventTargetingThisRootWindow(XEvent* xev);
+
// Dispatches XI2 events. Note that some events targetted for the X root
// window are dispatched to the aura root window (e.g. touch events after
// calibration).

Powered by Google App Engine
This is Rietveld 408576698