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

Unified Diff: ui/aura/window_tree_host.h

Issue 503883004: Don't pass touches to gesture recognizer for async acks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug, add test. Created 6 years, 4 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.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index aaf0d3b265c9973518ba7b3e9791f46d214a6290..4f26fa3547a42336792defbdb2469cb9d3531300 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -169,6 +169,8 @@ class AURA_EXPORT WindowTreeHost {
// kCalled when the cursor visibility has changed.
virtual void OnCursorVisibilityChangedNative(bool show) = 0;
+ scoped_ptr<WindowEventDispatcher> dispatcher_;
+
private:
friend class test::WindowTreeHostTestApi;
@@ -185,8 +187,6 @@ class AURA_EXPORT WindowTreeHost {
ObserverList<WindowTreeHostObserver> observers_;
- scoped_ptr<WindowEventDispatcher> dispatcher_;
-
scoped_ptr<ui::Compositor> compositor_;
// Last cursor set. Used for testing.

Powered by Google App Engine
This is Rietveld 408576698