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

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 comments. 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..e40d22c39746e1f5051af851c87eec69cac548fa 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -121,6 +121,15 @@ 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(
+ const WebLayer* innerViewportClipLayer,
+ const WebLayer* pageScaleLayerLayer,
+ const WebLayer* innerViewportScrollLayer,
+ const WebLayer* outerViewportScrollLayer,
+ const WebLayer* innerViewportHorizontalScrollbarLayer,
+ const WebLayer* innerViewportVerticalScrollbarLayer) { }
+ virtual void clearPinchViewportLayers() { }
// Debugging / dangerous ---------------------------------------------
« Source/WebKit/chromium/src/WebViewImpl.cpp ('K') | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698