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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 16799005: Insert pinch zoom virtual viewport layers to graphics layer tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address James' comments, add WebLayerTreeView function interface. 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: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index 99d9ec5ec77ffbcc3aa9127d78f42f622f91f07f..23544c742cf004476166a7bd2f1ee315a67d7da8 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -121,6 +121,14 @@ public:
// been added to the tree.
virtual void registerForAnimations(WebLayer* layer) { }
+ // Identify key layers to the compositor when using the pinch virtual viewport.
+ virtual void registerPinchViewportLayers(
+ WebLayer* innerViewportClipLayer,
wjmaclean 2013/06/17 18:42:41 Ooops, I'll change these to be "const WebLayer*"
+ WebLayer* pageScaleLayerLayer,
+ WebLayer* innerViewportScrollLayer,
+ WebLayer* outerViewportScrollLayer,
+ WebLayer* innerViewportHorizontalScrollbarLayer,
+ WebLayer* innerViewportVerticalScrollbarLayer) { }
// Debugging / dangerous ---------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698