| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "platform/graphics/filters/FilterOperations.h" | 43 #include "platform/graphics/filters/FilterOperations.h" |
| 44 #include "platform/graphics/paint/CachedDisplayItem.h" | 44 #include "platform/graphics/paint/CachedDisplayItem.h" |
| 45 #include "platform/graphics/paint/DisplayItemClient.h" | 45 #include "platform/graphics/paint/DisplayItemClient.h" |
| 46 #include "platform/graphics/paint/PaintController.h" | 46 #include "platform/graphics/paint/PaintController.h" |
| 47 #include "platform/heap/Handle.h" | 47 #include "platform/heap/Handle.h" |
| 48 #include "platform/transforms/TransformationMatrix.h" | 48 #include "platform/transforms/TransformationMatrix.h" |
| 49 #include "public/platform/WebCompositorAnimationDelegate.h" | 49 #include "public/platform/WebCompositorAnimationDelegate.h" |
| 50 #include "public/platform/WebContentLayer.h" | 50 #include "public/platform/WebContentLayer.h" |
| 51 #include "public/platform/WebImageLayer.h" | 51 #include "public/platform/WebImageLayer.h" |
| 52 #include "public/platform/WebLayerScrollClient.h" | 52 #include "public/platform/WebLayerScrollClient.h" |
| 53 #include "public/platform/WebScrollBlocksOn.h" | |
| 54 #include "third_party/skia/include/core/SkPaint.h" | 53 #include "third_party/skia/include/core/SkPaint.h" |
| 55 #include "wtf/OwnPtr.h" | 54 #include "wtf/OwnPtr.h" |
| 56 #include "wtf/PassOwnPtr.h" | 55 #include "wtf/PassOwnPtr.h" |
| 57 #include "wtf/Vector.h" | 56 #include "wtf/Vector.h" |
| 58 | 57 |
| 59 namespace blink { | 58 namespace blink { |
| 60 | 59 |
| 61 class FloatRect; | 60 class FloatRect; |
| 62 class GraphicsLayerFactory; | 61 class GraphicsLayerFactory; |
| 63 class GraphicsLayerFactoryChromium; | 62 class GraphicsLayerFactoryChromium; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 bool contentsOpaque() const { return m_contentsOpaque; } | 164 bool contentsOpaque() const { return m_contentsOpaque; } |
| 166 void setContentsOpaque(bool); | 165 void setContentsOpaque(bool); |
| 167 | 166 |
| 168 bool backfaceVisibility() const { return m_backfaceVisibility; } | 167 bool backfaceVisibility() const { return m_backfaceVisibility; } |
| 169 void setBackfaceVisibility(bool visible); | 168 void setBackfaceVisibility(bool visible); |
| 170 | 169 |
| 171 float opacity() const { return m_opacity; } | 170 float opacity() const { return m_opacity; } |
| 172 void setOpacity(float); | 171 void setOpacity(float); |
| 173 | 172 |
| 174 void setBlendMode(WebBlendMode); | 173 void setBlendMode(WebBlendMode); |
| 175 void setScrollBlocksOn(WebScrollBlocksOn); | |
| 176 void setIsRootForIsolatedGroup(bool); | 174 void setIsRootForIsolatedGroup(bool); |
| 177 | 175 |
| 178 void setFilters(const FilterOperations&); | 176 void setFilters(const FilterOperations&); |
| 179 void setBackdropFilters(const FilterOperations&); | 177 void setBackdropFilters(const FilterOperations&); |
| 180 | 178 |
| 181 void setFilterQuality(SkFilterQuality); | 179 void setFilterQuality(SkFilterQuality); |
| 182 | 180 |
| 183 // Some GraphicsLayers paint only the foreground or the background content | 181 // Some GraphicsLayers paint only the foreground or the background content |
| 184 void setPaintingPhase(GraphicsLayerPaintingPhase); | 182 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 185 | 183 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 FloatSize m_size; | 316 FloatSize m_size; |
| 319 | 317 |
| 320 TransformationMatrix m_transform; | 318 TransformationMatrix m_transform; |
| 321 FloatPoint3D m_transformOrigin; | 319 FloatPoint3D m_transformOrigin; |
| 322 | 320 |
| 323 Color m_backgroundColor; | 321 Color m_backgroundColor; |
| 324 float m_opacity; | 322 float m_opacity; |
| 325 | 323 |
| 326 WebBlendMode m_blendMode; | 324 WebBlendMode m_blendMode; |
| 327 | 325 |
| 328 WebScrollBlocksOn m_scrollBlocksOn; | |
| 329 | |
| 330 bool m_hasTransformOrigin : 1; | 326 bool m_hasTransformOrigin : 1; |
| 331 bool m_contentsOpaque : 1; | 327 bool m_contentsOpaque : 1; |
| 332 bool m_shouldFlattenTransform: 1; | 328 bool m_shouldFlattenTransform: 1; |
| 333 bool m_backfaceVisibility : 1; | 329 bool m_backfaceVisibility : 1; |
| 334 bool m_masksToBounds : 1; | 330 bool m_masksToBounds : 1; |
| 335 bool m_drawsContent : 1; | 331 bool m_drawsContent : 1; |
| 336 bool m_contentsVisible : 1; | 332 bool m_contentsVisible : 1; |
| 337 bool m_isRootForIsolatedGroup : 1; | 333 bool m_isRootForIsolatedGroup : 1; |
| 338 | 334 |
| 339 bool m_hasScrollParent : 1; | 335 bool m_hasScrollParent : 1; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 }; | 380 }; |
| 385 | 381 |
| 386 } // namespace blink | 382 } // namespace blink |
| 387 | 383 |
| 388 #ifndef NDEBUG | 384 #ifndef NDEBUG |
| 389 // Outside the blink namespace for ease of invocation from gdb. | 385 // Outside the blink namespace for ease of invocation from gdb. |
| 390 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 391 #endif | 387 #endif |
| 392 | 388 |
| 393 #endif // GraphicsLayer_h | 389 #endif // GraphicsLayer_h |
| OLD | NEW |