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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 16679011: Add viewport scrollbar class to support overlay scrollbars for pinch zoom virtual viewport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index f0be76201af145cd48af1ffd973d4e553d9ec389..d87d024ac6e08305a6381c7fd8faf9702340e4c4 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -280,6 +280,10 @@ void LayerTreeImpl::UpdateDrawProperties() {
"LayerTreeImpl::UpdateDrawProperties",
"IsActive",
IsActiveTree());
+
+ // TODO(wjmaclean): when settings().use_pinch_virtual_viewport is specified,
enne (OOO) 2013/06/12 19:44:38 Maybe LayerTreeHost can be told the id of the page
wjmaclean 2013/06/12 19:54:36 Yes, that is the ultimate goal. LTH will be told w
+ // pass the page_scale_layer instead of root_scroll_layer_ for the page
+ // scale application layer in the following call.
LayerTreeHostCommon::CalculateDrawProperties(
root_layer(),
layer_tree_host_impl_->DeviceViewport().size(),

Powered by Google App Engine
This is Rietveld 408576698