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

Side by Side Diff: cc/LayerChromium.h

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 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 | « cc/DelegatedRendererLayerChromium.cpp ('k') | cc/RenderSurfaceChromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #ifndef LayerChromium_h 6 #ifndef LayerChromium_h
7 #define LayerChromium_h 7 #define LayerChromium_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 bool preserves3D() const { return m_preserves3D; } 165 bool preserves3D() const { return m_preserves3D; }
166 166
167 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us eParentBackfaceVisibility = useParentBackfaceVisibility; } 167 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us eParentBackfaceVisibility = useParentBackfaceVisibility; }
168 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil ity; } 168 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil ity; }
169 169
170 virtual void setUseLCDText(bool); 170 virtual void setUseLCDText(bool);
171 bool useLCDText() const { return m_useLCDText; } 171 bool useLCDText() const { return m_useLCDText; }
172 172
173 virtual void setLayerTreeHost(CCLayerTreeHost*); 173 virtual void setLayerTreeHost(CCLayerTreeHost*);
174 174
175 bool hasContributingDelegatedRenderPasses() const { return false; }
176
175 void setIsDrawable(bool); 177 void setIsDrawable(bool);
176 178
177 void setReplicaLayer(LayerChromium*); 179 void setReplicaLayer(LayerChromium*);
178 LayerChromium* replicaLayer() const { return m_replicaLayer.get(); } 180 LayerChromium* replicaLayer() const { return m_replicaLayer.get(); }
179 181
180 bool hasMask() const { return m_maskLayer; } 182 bool hasMask() const { return m_maskLayer; }
181 bool hasReplica() const { return m_replicaLayer; } 183 bool hasReplica() const { return m_replicaLayer; }
182 bool replicaHasMask() const { return m_replicaLayer && (m_maskLayer || m_rep licaLayer->m_maskLayer); } 184 bool replicaHasMask() const { return m_replicaLayer && (m_maskLayer || m_rep licaLayer->m_maskLayer); }
183 185
184 // These methods typically need to be overwritten by derived classes. 186 // These methods typically need to be overwritten by derived classes.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; 375 WebKit::WebAnimationDelegate* m_layerAnimationDelegate;
374 WebKit::WebLayerScrollClient* m_layerScrollClient; 376 WebKit::WebLayerScrollClient* m_layerScrollClient;
375 }; 377 };
376 378
377 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*); 379 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*);
378 380
379 } 381 }
380 #endif // USE(ACCELERATED_COMPOSITING) 382 #endif // USE(ACCELERATED_COMPOSITING)
381 383
382 #endif 384 #endif
OLDNEW
« no previous file with comments | « cc/DelegatedRendererLayerChromium.cpp ('k') | cc/RenderSurfaceChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698