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 30 matching lines...) Expand all Loading... |
41 #include "platform/graphics/GraphicsLayerDebugInfo.h" | 41 #include "platform/graphics/GraphicsLayerDebugInfo.h" |
42 #include "platform/graphics/ImageOrientation.h" | 42 #include "platform/graphics/ImageOrientation.h" |
43 #include "platform/graphics/PaintInvalidationReason.h" | 43 #include "platform/graphics/PaintInvalidationReason.h" |
44 #include "platform/graphics/paint/DisplayItemClient.h" | 44 #include "platform/graphics/paint/DisplayItemClient.h" |
45 #include "platform/graphics/paint/PaintController.h" | 45 #include "platform/graphics/paint/PaintController.h" |
46 #include "platform/heap/Handle.h" | 46 #include "platform/heap/Handle.h" |
47 #include "platform/transforms/TransformationMatrix.h" | 47 #include "platform/transforms/TransformationMatrix.h" |
48 #include "public/platform/WebContentLayer.h" | 48 #include "public/platform/WebContentLayer.h" |
49 #include "public/platform/WebImageLayer.h" | 49 #include "public/platform/WebImageLayer.h" |
50 #include "public/platform/WebLayerScrollClient.h" | 50 #include "public/platform/WebLayerScrollClient.h" |
| 51 #include "public/platform/WebLayerStickyPositionConstraint.h" |
51 #include "third_party/skia/include/core/SkFilterQuality.h" | 52 #include "third_party/skia/include/core/SkFilterQuality.h" |
52 #include "third_party/skia/include/core/SkRefCnt.h" | 53 #include "third_party/skia/include/core/SkRefCnt.h" |
53 #include "wtf/Vector.h" | 54 #include "wtf/Vector.h" |
54 #include <memory> | 55 #include <memory> |
55 | 56 |
56 namespace blink { | 57 namespace blink { |
57 | 58 |
58 class CompositorFilterOperations; | 59 class CompositorFilterOperations; |
59 class FloatRect; | 60 class FloatRect; |
60 class Image; | 61 class Image; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 168 |
168 float opacity() const { return m_opacity; } | 169 float opacity() const { return m_opacity; } |
169 void setOpacity(float); | 170 void setOpacity(float); |
170 | 171 |
171 void setBlendMode(WebBlendMode); | 172 void setBlendMode(WebBlendMode); |
172 void setIsRootForIsolatedGroup(bool); | 173 void setIsRootForIsolatedGroup(bool); |
173 | 174 |
174 void setFilters(CompositorFilterOperations); | 175 void setFilters(CompositorFilterOperations); |
175 void setBackdropFilters(CompositorFilterOperations); | 176 void setBackdropFilters(CompositorFilterOperations); |
176 | 177 |
| 178 void setStickyPositionConstraint(const WebLayerStickyPositionConstraint&); |
| 179 |
177 void setFilterQuality(SkFilterQuality); | 180 void setFilterQuality(SkFilterQuality); |
178 | 181 |
179 // Some GraphicsLayers paint only the foreground or the background content | 182 // Some GraphicsLayers paint only the foreground or the background content |
180 GraphicsLayerPaintingPhase paintingPhase() const { return m_paintingPhase; } | 183 GraphicsLayerPaintingPhase paintingPhase() const { return m_paintingPhase; } |
181 void setPaintingPhase(GraphicsLayerPaintingPhase); | 184 void setPaintingPhase(GraphicsLayerPaintingPhase); |
182 | 185 |
183 void setNeedsDisplay(); | 186 void setNeedsDisplay(); |
184 // Mark the given rect (in layer coords) as needing display. Never goes deep
. | 187 // Mark the given rect (in layer coords) as needing display. Never goes deep
. |
185 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason, const Di
splayItemClient&); | 188 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason, const Di
splayItemClient&); |
186 | 189 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 }; | 374 }; |
372 | 375 |
373 } // namespace blink | 376 } // namespace blink |
374 | 377 |
375 #ifndef NDEBUG | 378 #ifndef NDEBUG |
376 // Outside the blink namespace for ease of invocation from gdb. | 379 // Outside the blink namespace for ease of invocation from gdb. |
377 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 380 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
378 #endif | 381 #endif |
379 | 382 |
380 #endif // GraphicsLayer_h | 383 #endif // GraphicsLayer_h |
OLD | NEW |