| 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 "third_party/skia/include/core/SkPaint.h" |
| 48 #include "wtf/OwnPtr.h" | 49 #include "wtf/OwnPtr.h" |
| 49 #include "wtf/PassOwnPtr.h" | 50 #include "wtf/PassOwnPtr.h" |
| 50 #include "wtf/Vector.h" | 51 #include "wtf/Vector.h" |
| 51 | 52 |
| 52 namespace blink { | 53 namespace blink { |
| 53 | 54 |
| 54 class DisplayItemList; | 55 class DisplayItemList; |
| 55 class FloatRect; | 56 class FloatRect; |
| 56 class GraphicsContext; | 57 class GraphicsContext; |
| 57 class GraphicsLayer; | 58 class GraphicsLayer; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 void setBackfaceVisibility(bool visible); | 173 void setBackfaceVisibility(bool visible); |
| 173 | 174 |
| 174 float opacity() const { return m_opacity; } | 175 float opacity() const { return m_opacity; } |
| 175 void setOpacity(float); | 176 void setOpacity(float); |
| 176 | 177 |
| 177 void setBlendMode(WebBlendMode); | 178 void setBlendMode(WebBlendMode); |
| 178 void setIsRootForIsolatedGroup(bool); | 179 void setIsRootForIsolatedGroup(bool); |
| 179 | 180 |
| 180 void setFilters(const FilterOperations&); | 181 void setFilters(const FilterOperations&); |
| 181 | 182 |
| 183 void setFilterLevel(SkPaint::FilterLevel); |
| 184 |
| 182 // Some GraphicsLayers paint only the foreground or the background content | 185 // Some GraphicsLayers paint only the foreground or the background content |
| 183 void setPaintingPhase(GraphicsLayerPaintingPhase); | 186 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 184 | 187 |
| 185 void setNeedsDisplay(); | 188 void setNeedsDisplay(); |
| 186 // Mark the given rect (in layer coords) as needing display. Never goes deep
. | 189 // Mark the given rect (in layer coords) as needing display. Never goes deep
. |
| 187 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); | 190 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); |
| 188 | 191 |
| 189 void setContentsNeedsDisplay(); | 192 void setContentsNeedsDisplay(); |
| 190 | 193 |
| 191 // Set that the position/size of the contents (image or video). | 194 // Set that the position/size of the contents (image or video). |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 }; | 354 }; |
| 352 | 355 |
| 353 } // namespace blink | 356 } // namespace blink |
| 354 | 357 |
| 355 #ifndef NDEBUG | 358 #ifndef NDEBUG |
| 356 // Outside the blink namespace for ease of invocation from gdb. | 359 // Outside the blink namespace for ease of invocation from gdb. |
| 357 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 360 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 358 #endif | 361 #endif |
| 359 | 362 |
| 360 #endif // GraphicsLayer_h | 363 #endif // GraphicsLayer_h |
| OLD | NEW |