| 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 27 matching lines...) Expand all Loading... |
| 38 #include "platform/graphics/GraphicsLayerDebugInfo.h" | 38 #include "platform/graphics/GraphicsLayerDebugInfo.h" |
| 39 #include "platform/graphics/PaintInvalidationReason.h" | 39 #include "platform/graphics/PaintInvalidationReason.h" |
| 40 #include "platform/graphics/filters/FilterOperations.h" | 40 #include "platform/graphics/filters/FilterOperations.h" |
| 41 #include "platform/transforms/TransformationMatrix.h" | 41 #include "platform/transforms/TransformationMatrix.h" |
| 42 #include "public/platform/WebCompositorAnimationDelegate.h" | 42 #include "public/platform/WebCompositorAnimationDelegate.h" |
| 43 #include "public/platform/WebContentLayer.h" | 43 #include "public/platform/WebContentLayer.h" |
| 44 #include "public/platform/WebImageLayer.h" | 44 #include "public/platform/WebImageLayer.h" |
| 45 #include "public/platform/WebLayerClient.h" | 45 #include "public/platform/WebLayerClient.h" |
| 46 #include "public/platform/WebLayerScrollClient.h" | 46 #include "public/platform/WebLayerScrollClient.h" |
| 47 #include "public/platform/WebNinePatchLayer.h" | 47 #include "public/platform/WebNinePatchLayer.h" |
| 48 #include "public/platform/WebScrollBlocksOn.h" |
| 48 #include "third_party/skia/include/core/SkPaint.h" | 49 #include "third_party/skia/include/core/SkPaint.h" |
| 49 #include "wtf/OwnPtr.h" | 50 #include "wtf/OwnPtr.h" |
| 50 #include "wtf/PassOwnPtr.h" | 51 #include "wtf/PassOwnPtr.h" |
| 51 #include "wtf/Vector.h" | 52 #include "wtf/Vector.h" |
| 52 | 53 |
| 53 namespace blink { | 54 namespace blink { |
| 54 | 55 |
| 55 class DisplayItemList; | 56 class DisplayItemList; |
| 56 class FloatRect; | 57 class FloatRect; |
| 57 class GraphicsContext; | 58 class GraphicsContext; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 bool contentsOpaque() const { return m_contentsOpaque; } | 175 bool contentsOpaque() const { return m_contentsOpaque; } |
| 175 void setContentsOpaque(bool); | 176 void setContentsOpaque(bool); |
| 176 | 177 |
| 177 bool backfaceVisibility() const { return m_backfaceVisibility; } | 178 bool backfaceVisibility() const { return m_backfaceVisibility; } |
| 178 void setBackfaceVisibility(bool visible); | 179 void setBackfaceVisibility(bool visible); |
| 179 | 180 |
| 180 float opacity() const { return m_opacity; } | 181 float opacity() const { return m_opacity; } |
| 181 void setOpacity(float); | 182 void setOpacity(float); |
| 182 | 183 |
| 183 void setBlendMode(WebBlendMode); | 184 void setBlendMode(WebBlendMode); |
| 185 void setScrollBlocksOn(WebScrollBlocksOn); |
| 184 void setIsRootForIsolatedGroup(bool); | 186 void setIsRootForIsolatedGroup(bool); |
| 185 | 187 |
| 186 void setFilters(const FilterOperations&); | 188 void setFilters(const FilterOperations&); |
| 187 | 189 |
| 188 void setFilterLevel(SkPaint::FilterLevel); | 190 void setFilterLevel(SkPaint::FilterLevel); |
| 189 | 191 |
| 190 // Some GraphicsLayers paint only the foreground or the background content | 192 // Some GraphicsLayers paint only the foreground or the background content |
| 191 void setPaintingPhase(GraphicsLayerPaintingPhase); | 193 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 192 | 194 |
| 193 void setNeedsDisplay(); | 195 void setNeedsDisplay(); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 FloatSize m_size; | 303 FloatSize m_size; |
| 302 | 304 |
| 303 TransformationMatrix m_transform; | 305 TransformationMatrix m_transform; |
| 304 FloatPoint3D m_transformOrigin; | 306 FloatPoint3D m_transformOrigin; |
| 305 | 307 |
| 306 Color m_backgroundColor; | 308 Color m_backgroundColor; |
| 307 float m_opacity; | 309 float m_opacity; |
| 308 | 310 |
| 309 WebBlendMode m_blendMode; | 311 WebBlendMode m_blendMode; |
| 310 | 312 |
| 313 WebScrollBlocksOn m_scrollBlocksOn; |
| 314 |
| 311 bool m_hasTransformOrigin : 1; | 315 bool m_hasTransformOrigin : 1; |
| 312 bool m_contentsOpaque : 1; | 316 bool m_contentsOpaque : 1; |
| 313 bool m_shouldFlattenTransform: 1; | 317 bool m_shouldFlattenTransform: 1; |
| 314 bool m_backfaceVisibility : 1; | 318 bool m_backfaceVisibility : 1; |
| 315 bool m_masksToBounds : 1; | 319 bool m_masksToBounds : 1; |
| 316 bool m_drawsContent : 1; | 320 bool m_drawsContent : 1; |
| 317 bool m_contentsVisible : 1; | 321 bool m_contentsVisible : 1; |
| 318 bool m_isRootForIsolatedGroup : 1; | 322 bool m_isRootForIsolatedGroup : 1; |
| 319 | 323 |
| 320 bool m_hasScrollParent : 1; | 324 bool m_hasScrollParent : 1; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 }; | 363 }; |
| 360 | 364 |
| 361 } // namespace blink | 365 } // namespace blink |
| 362 | 366 |
| 363 #ifndef NDEBUG | 367 #ifndef NDEBUG |
| 364 // Outside the blink namespace for ease of invocation from gdb. | 368 // Outside the blink namespace for ease of invocation from gdb. |
| 365 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 369 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 366 #endif | 370 #endif |
| 367 | 371 |
| 368 #endif // GraphicsLayer_h | 372 #endif // GraphicsLayer_h |
| OLD | NEW |