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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 void setTransformOrigin(const FloatPoint3D&); | 135 void setTransformOrigin(const FloatPoint3D&); |
136 | 136 |
137 // The size of the layer. | 137 // The size of the layer. |
138 const FloatSize& size() const { return m_size; } | 138 const FloatSize& size() const { return m_size; } |
139 void setSize(const FloatSize&); | 139 void setSize(const FloatSize&); |
140 | 140 |
141 const TransformationMatrix& transform() const { return m_transform; } | 141 const TransformationMatrix& transform() const { return m_transform; } |
142 void setTransform(const TransformationMatrix&); | 142 void setTransform(const TransformationMatrix&); |
143 void setShouldFlattenTransform(bool); | 143 void setShouldFlattenTransform(bool); |
144 void setRenderingContext(int id); | 144 void setRenderingContext(int id); |
| 145 |
| 146 bool masksToBounds() const; |
145 void setMasksToBounds(bool); | 147 void setMasksToBounds(bool); |
146 | 148 |
147 bool drawsContent() const { return m_drawsContent; } | 149 bool drawsContent() const { return m_drawsContent; } |
148 void setDrawsContent(bool); | 150 void setDrawsContent(bool); |
149 | 151 |
150 bool contentsAreVisible() const { return m_contentsVisible; } | 152 bool contentsAreVisible() const { return m_contentsVisible; } |
151 void setContentsVisible(bool); | 153 void setContentsVisible(bool); |
152 | 154 |
153 void setScrollParent(WebLayer*); | 155 void setScrollParent(WebLayer*); |
154 void setClipParent(WebLayer*); | 156 void setClipParent(WebLayer*); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 314 |
313 Color m_backgroundColor; | 315 Color m_backgroundColor; |
314 float m_opacity; | 316 float m_opacity; |
315 | 317 |
316 WebBlendMode m_blendMode; | 318 WebBlendMode m_blendMode; |
317 | 319 |
318 bool m_hasTransformOrigin : 1; | 320 bool m_hasTransformOrigin : 1; |
319 bool m_contentsOpaque : 1; | 321 bool m_contentsOpaque : 1; |
320 bool m_shouldFlattenTransform: 1; | 322 bool m_shouldFlattenTransform: 1; |
321 bool m_backfaceVisibility : 1; | 323 bool m_backfaceVisibility : 1; |
322 bool m_masksToBounds : 1; | |
323 bool m_drawsContent : 1; | 324 bool m_drawsContent : 1; |
324 bool m_contentsVisible : 1; | 325 bool m_contentsVisible : 1; |
325 bool m_isRootForIsolatedGroup : 1; | 326 bool m_isRootForIsolatedGroup : 1; |
326 | 327 |
327 bool m_hasScrollParent : 1; | 328 bool m_hasScrollParent : 1; |
328 bool m_hasClipParent : 1; | 329 bool m_hasClipParent : 1; |
329 | 330 |
330 bool m_painted : 1; | 331 bool m_painted : 1; |
331 | 332 |
332 bool m_isTrackingPaintInvalidations : 1; | 333 bool m_isTrackingPaintInvalidations : 1; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 }; | 373 }; |
373 | 374 |
374 } // namespace blink | 375 } // namespace blink |
375 | 376 |
376 #ifndef NDEBUG | 377 #ifndef NDEBUG |
377 // Outside the blink namespace for ease of invocation from gdb. | 378 // Outside the blink namespace for ease of invocation from gdb. |
378 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 379 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
379 #endif | 380 #endif |
380 | 381 |
381 #endif // GraphicsLayer_h | 382 #endif // GraphicsLayer_h |
OLD | NEW |