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

Unified Diff: cc/layer_tree_host_impl.h

Issue 12090014: Add a bit to not bubble scrolls to parent scrolling layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test and using scrollType instead of bool Created 7 years, 11 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: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 4414adb3eceedf19bb4ee2f4a7145ac3f833feb1..d95338d9b90d776b45a202705c740be55e81ccd1 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -327,6 +327,8 @@ private:
// by the next sync from the main thread.
scoped_ptr<LayerTreeImpl> m_recycleTree;
+ bool m_didScrollOnce;
Sami 2013/01/30 19:28:31 At the risk of bikeshedding I think this name is a
jamesr 2013/01/30 19:32:23 Or maybe it's time to move the transient scroll pr
Yusuf 2013/01/30 21:01:02 Done.
+ bool m_shouldBubbleScrolls;
bool m_scrollDeltaIsInViewportSpace;
LayerTreeSettings m_settings;
LayerTreeDebugState m_debugState;
« no previous file with comments | « cc/input_handler.h ('k') | cc/layer_tree_host_impl.cc » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698