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

Side by Side Diff: public/platform/WebLayerTreeView.h

Issue 19019004: Set root clip layer not to maskToBounds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another ClipLayer rename Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/PinchViewports.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // Prevents updates to layer tree from becoming visible. 117 // Prevents updates to layer tree from becoming visible.
118 virtual void setDeferCommits(bool deferCommits) { } 118 virtual void setDeferCommits(bool deferCommits) { }
119 119
120 // Take responsiblity for this layer's animations, even if this layer hasn't yet 120 // Take responsiblity for this layer's animations, even if this layer hasn't yet
121 // been added to the tree. 121 // been added to the tree.
122 virtual void registerForAnimations(WebLayer* layer) { } 122 virtual void registerForAnimations(WebLayer* layer) { }
123 123
124 // Identify key layers to the compositor when using the pinch virtual viewpo rt. 124 // Identify key layers to the compositor when using the pinch virtual viewpo rt.
125 virtual void registerPinchViewportLayers( 125 virtual void registerPinchViewportLayers(
126 const WebLayer* innerViewportClipLayer, 126 const WebLayer* innerViewportContainerLayer,
127 const WebLayer* pageScaleLayerLayer, 127 const WebLayer* pageScaleLayerLayer,
128 const WebLayer* innerViewportScrollLayer, 128 const WebLayer* innerViewportScrollLayer,
129 const WebLayer* outerViewportScrollLayer, 129 const WebLayer* outerViewportScrollLayer,
130 const WebLayer* innerViewportHorizontalScrollbarLayer, 130 const WebLayer* innerViewportHorizontalScrollbarLayer,
131 const WebLayer* innerViewportVerticalScrollbarLayer) { } 131 const WebLayer* innerViewportVerticalScrollbarLayer) { }
132 virtual void clearPinchViewportLayers() { } 132 virtual void clearPinchViewportLayers() { }
133 133
134 // Debugging / dangerous --------------------------------------------- 134 // Debugging / dangerous ---------------------------------------------
135 135
136 // Toggles the FPS counter in the HUD layer 136 // Toggles the FPS counter in the HUD layer
137 virtual void setShowFPSCounter(bool) { } 137 virtual void setShowFPSCounter(bool) { }
138 138
139 // Toggles the paint rects in the HUD layer 139 // Toggles the paint rects in the HUD layer
140 virtual void setShowPaintRects(bool) { } 140 virtual void setShowPaintRects(bool) { }
141 141
142 // Toggles the debug borders on layers 142 // Toggles the debug borders on layers
143 virtual void setShowDebugBorders(bool) { } 143 virtual void setShowDebugBorders(bool) { }
144 144
145 // Toggles continuous painting 145 // Toggles continuous painting
146 virtual void setContinuousPaintingEnabled(bool) { } 146 virtual void setContinuousPaintingEnabled(bool) { }
147 147
148 // Toggles scroll bottleneck rects on the HUD layer 148 // Toggles scroll bottleneck rects on the HUD layer
149 virtual void setShowScrollBottleneckRects(bool) { } 149 virtual void setShowScrollBottleneckRects(bool) { }
150 }; 150 };
151 151
152 } // namespace WebKit 152 } // namespace WebKit
153 153
154 #endif // WebLayerTreeView_h 154 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « Source/web/PinchViewports.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698