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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2773893003: Record size of scroller that user scrolls (Closed)
Patch Set: nit Created 3 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index f02a36c93d9f84b42c6df08717ce4986ccd47332..b4bcbe1884a2a951c1ee9d31bd0db409808700b9 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -605,6 +605,9 @@ class CC_EXPORT LayerTreeHostImpl
const base::Callback<void(bool)>& embedder_callback);
std::vector<base::Closure> TakeCompletedImageDecodeCallbacks();
+ static const int maxScrollerSize = 200000; // 400px * 500px
+ static const int bucketNum = 50;
tdresser 2017/03/30 15:19:06 Prefix with "k" https://google.github.io/stylegui
weiliangc 2017/03/30 19:19:36 These two are just constants. Is it possible to pu
+
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698