| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void setTransformOrigin(const FloatPoint3D&); | 134 void setTransformOrigin(const FloatPoint3D&); |
| 135 | 135 |
| 136 // The size of the layer. | 136 // The size of the layer. |
| 137 const FloatSize& size() const { return m_size; } | 137 const FloatSize& size() const { return m_size; } |
| 138 void setSize(const FloatSize&); | 138 void setSize(const FloatSize&); |
| 139 | 139 |
| 140 const TransformationMatrix& transform() const { return m_transform; } | 140 const TransformationMatrix& transform() const { return m_transform; } |
| 141 void setTransform(const TransformationMatrix&); | 141 void setTransform(const TransformationMatrix&); |
| 142 void setShouldFlattenTransform(bool); | 142 void setShouldFlattenTransform(bool); |
| 143 void setRenderingContext(int id); | 143 void setRenderingContext(int id); |
| 144 |
| 145 bool masksToBounds() const; |
| 144 void setMasksToBounds(bool); | 146 void setMasksToBounds(bool); |
| 145 | 147 |
| 146 bool drawsContent() const { return m_drawsContent; } | 148 bool drawsContent() const { return m_drawsContent; } |
| 147 void setDrawsContent(bool); | 149 void setDrawsContent(bool); |
| 148 | 150 |
| 149 bool contentsAreVisible() const { return m_contentsVisible; } | 151 bool contentsAreVisible() const { return m_contentsVisible; } |
| 150 void setContentsVisible(bool); | 152 void setContentsVisible(bool); |
| 151 | 153 |
| 152 void setScrollParent(WebLayer*); | 154 void setScrollParent(WebLayer*); |
| 153 void setClipParent(WebLayer*); | 155 void setClipParent(WebLayer*); |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 319 |
| 318 Color m_backgroundColor; | 320 Color m_backgroundColor; |
| 319 float m_opacity; | 321 float m_opacity; |
| 320 | 322 |
| 321 WebBlendMode m_blendMode; | 323 WebBlendMode m_blendMode; |
| 322 | 324 |
| 323 bool m_hasTransformOrigin : 1; | 325 bool m_hasTransformOrigin : 1; |
| 324 bool m_contentsOpaque : 1; | 326 bool m_contentsOpaque : 1; |
| 325 bool m_shouldFlattenTransform: 1; | 327 bool m_shouldFlattenTransform: 1; |
| 326 bool m_backfaceVisibility : 1; | 328 bool m_backfaceVisibility : 1; |
| 327 bool m_masksToBounds : 1; | |
| 328 bool m_drawsContent : 1; | 329 bool m_drawsContent : 1; |
| 329 bool m_contentsVisible : 1; | 330 bool m_contentsVisible : 1; |
| 330 bool m_isRootForIsolatedGroup : 1; | 331 bool m_isRootForIsolatedGroup : 1; |
| 331 | 332 |
| 332 bool m_hasScrollParent : 1; | 333 bool m_hasScrollParent : 1; |
| 333 bool m_hasClipParent : 1; | 334 bool m_hasClipParent : 1; |
| 334 | 335 |
| 335 bool m_painted : 1; | 336 bool m_painted : 1; |
| 336 | 337 |
| 337 bool m_isTrackingPaintInvalidations : 1; | 338 bool m_isTrackingPaintInvalidations : 1; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 }; | 378 }; |
| 378 | 379 |
| 379 } // namespace blink | 380 } // namespace blink |
| 380 | 381 |
| 381 #ifndef NDEBUG | 382 #ifndef NDEBUG |
| 382 // Outside the blink namespace for ease of invocation from gdb. | 383 // Outside the blink namespace for ease of invocation from gdb. |
| 383 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 384 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 384 #endif | 385 #endif |
| 385 | 386 |
| 386 #endif // GraphicsLayer_h | 387 #endif // GraphicsLayer_h |
| OLD | NEW |