| OLD | NEW |
| 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 #ifndef CC_LAYER_H_ | 5 #ifndef CC_LAYER_H_ |
| 6 #define CC_LAYER_H_ | 6 #define CC_LAYER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
| 10 #include "cc/layer_animation_controller.h" | 10 #include "cc/layer_animation_controller.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 void setDoubleSided(bool); | 167 void setDoubleSided(bool); |
| 168 bool doubleSided() const { return m_doubleSided; } | 168 bool doubleSided() const { return m_doubleSided; } |
| 169 | 169 |
| 170 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } | 170 void setPreserves3D(bool preserve3D) { m_preserves3D = preserve3D; } |
| 171 bool preserves3D() const { return m_preserves3D; } | 171 bool preserves3D() const { return m_preserves3D; } |
| 172 | 172 |
| 173 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us
eParentBackfaceVisibility = useParentBackfaceVisibility; } | 173 void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_us
eParentBackfaceVisibility = useParentBackfaceVisibility; } |
| 174 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil
ity; } | 174 bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibil
ity; } |
| 175 | 175 |
| 176 virtual void setUseLCDText(bool); | 176 void setUseLCDText(bool); |
| 177 bool useLCDText() const { return m_useLCDText; } | 177 bool useLCDText() const { return m_useLCDText; } |
| 178 | 178 |
| 179 virtual void setLayerTreeHost(LayerTreeHost*); | 179 virtual void setLayerTreeHost(LayerTreeHost*); |
| 180 | 180 |
| 181 bool hasContributingDelegatedRenderPasses() const { return false; } | 181 bool hasContributingDelegatedRenderPasses() const { return false; } |
| 182 | 182 |
| 183 void setIsDrawable(bool); | 183 void setIsDrawable(bool); |
| 184 | 184 |
| 185 void setReplicaLayer(Layer*); | 185 void setReplicaLayer(Layer*); |
| 186 Layer* replicaLayer() const { return m_replicaLayer.get(); } | 186 Layer* replicaLayer() const { return m_replicaLayer.get(); } |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 | 407 |
| 408 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; | 408 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; |
| 409 WebKit::WebLayerScrollClient* m_layerScrollClient; | 409 WebKit::WebLayerScrollClient* m_layerScrollClient; |
| 410 }; | 410 }; |
| 411 | 411 |
| 412 void sortLayers(std::vector<scoped_refptr<Layer> >::iterator, std::vector<scoped
_refptr<Layer> >::iterator, void*); | 412 void sortLayers(std::vector<scoped_refptr<Layer> >::iterator, std::vector<scoped
_refptr<Layer> >::iterator, void*); |
| 413 | 413 |
| 414 } // namespace cc | 414 } // namespace cc |
| 415 | 415 |
| 416 #endif // CC_LAYER_H_ | 416 #endif // CC_LAYER_H_ |
| OLD | NEW |