| 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 | 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool opacityIsAnimating() const; | 99 bool opacityIsAnimating() const; |
| 100 | 100 |
| 101 void setFilters(const WebKit::WebFilterOperations&); | 101 void setFilters(const WebKit::WebFilterOperations&); |
| 102 const WebKit::WebFilterOperations& filters() const { return m_filters; } | 102 const WebKit::WebFilterOperations& filters() const { return m_filters; } |
| 103 | 103 |
| 104 // Background filters are filters applied to what is behind this layer, when
they are viewed through non-opaque | 104 // Background filters are filters applied to what is behind this layer, when
they are viewed through non-opaque |
| 105 // regions in this layer. They are used through the WebLayer interface, and
are not exposed to HTML. | 105 // regions in this layer. They are used through the WebLayer interface, and
are not exposed to HTML. |
| 106 void setBackgroundFilters(const WebKit::WebFilterOperations&); | 106 void setBackgroundFilters(const WebKit::WebFilterOperations&); |
| 107 const WebKit::WebFilterOperations& backgroundFilters() const { return m_back
groundFilters; } | 107 const WebKit::WebFilterOperations& backgroundFilters() const { return m_back
groundFilters; } |
| 108 | 108 |
| 109 virtual void setOpaque(bool); | 109 virtual void setContentsOpaque(bool); |
| 110 bool opaque() const { return m_opaque; } | 110 bool contentsOpaque() const { return m_contentsOpaque; } |
| 111 | 111 |
| 112 void setPosition(const FloatPoint&); | 112 void setPosition(const FloatPoint&); |
| 113 FloatPoint position() const { return m_position; } | 113 FloatPoint position() const { return m_position; } |
| 114 | 114 |
| 115 void setIsContainerForFixedPositionLayers(bool); | 115 void setIsContainerForFixedPositionLayers(bool); |
| 116 bool isContainerForFixedPositionLayers() const { return m_isContainerForFixe
dPositionLayers; } | 116 bool isContainerForFixedPositionLayers() const { return m_isContainerForFixe
dPositionLayers; } |
| 117 | 117 |
| 118 void setFixedToContainerLayer(bool); | 118 void setFixedToContainerLayer(bool); |
| 119 bool fixedToContainerLayer() const { return m_fixedToContainerLayer; } | 119 bool fixedToContainerLayer() const { return m_fixedToContainerLayer; } |
| 120 | 120 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 float m_debugBorderWidth; | 337 float m_debugBorderWidth; |
| 338 std::string m_debugName; | 338 std::string m_debugName; |
| 339 float m_opacity; | 339 float m_opacity; |
| 340 WebKit::WebFilterOperations m_filters; | 340 WebKit::WebFilterOperations m_filters; |
| 341 WebKit::WebFilterOperations m_backgroundFilters; | 341 WebKit::WebFilterOperations m_backgroundFilters; |
| 342 float m_anchorPointZ; | 342 float m_anchorPointZ; |
| 343 bool m_isContainerForFixedPositionLayers; | 343 bool m_isContainerForFixedPositionLayers; |
| 344 bool m_fixedToContainerLayer; | 344 bool m_fixedToContainerLayer; |
| 345 bool m_isDrawable; | 345 bool m_isDrawable; |
| 346 bool m_masksToBounds; | 346 bool m_masksToBounds; |
| 347 bool m_opaque; | 347 bool m_contentsOpaque; |
| 348 bool m_doubleSided; | 348 bool m_doubleSided; |
| 349 bool m_useLCDText; | 349 bool m_useLCDText; |
| 350 bool m_preserves3D; | 350 bool m_preserves3D; |
| 351 bool m_useParentBackfaceVisibility; | 351 bool m_useParentBackfaceVisibility; |
| 352 bool m_drawCheckerboardForMissingTiles; | 352 bool m_drawCheckerboardForMissingTiles; |
| 353 bool m_forceRenderSurface; | 353 bool m_forceRenderSurface; |
| 354 | 354 |
| 355 WebKit::WebTransformationMatrix m_transform; | 355 WebKit::WebTransformationMatrix m_transform; |
| 356 WebKit::WebTransformationMatrix m_sublayerTransform; | 356 WebKit::WebTransformationMatrix m_sublayerTransform; |
| 357 | 357 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 378 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; | 378 WebKit::WebAnimationDelegate* m_layerAnimationDelegate; |
| 379 WebKit::WebLayerScrollClient* m_layerScrollClient; | 379 WebKit::WebLayerScrollClient* m_layerScrollClient; |
| 380 }; | 380 }; |
| 381 | 381 |
| 382 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*); | 382 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*); |
| 383 | 383 |
| 384 } | 384 } |
| 385 #endif // USE(ACCELERATED_COMPOSITING) | 385 #endif // USE(ACCELERATED_COMPOSITING) |
| 386 | 386 |
| 387 #endif | 387 #endif |
| OLD | NEW |