| 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 23 matching lines...) Expand all Loading... |
| 34 #include "platform/geometry/IntRect.h" | 34 #include "platform/geometry/IntRect.h" |
| 35 #include "platform/graphics/Color.h" | 35 #include "platform/graphics/Color.h" |
| 36 #include "platform/graphics/GraphicsLayerClient.h" | 36 #include "platform/graphics/GraphicsLayerClient.h" |
| 37 #include "platform/graphics/GraphicsLayerDebugInfo.h" | 37 #include "platform/graphics/GraphicsLayerDebugInfo.h" |
| 38 #include "platform/graphics/OpaqueRectTrackingContentLayerDelegate.h" | 38 #include "platform/graphics/OpaqueRectTrackingContentLayerDelegate.h" |
| 39 #include "platform/graphics/filters/FilterOperations.h" | 39 #include "platform/graphics/filters/FilterOperations.h" |
| 40 #include "platform/transforms/TransformationMatrix.h" | 40 #include "platform/transforms/TransformationMatrix.h" |
| 41 #include "public/platform/WebCompositorAnimationDelegate.h" | 41 #include "public/platform/WebCompositorAnimationDelegate.h" |
| 42 #include "public/platform/WebContentLayer.h" | 42 #include "public/platform/WebContentLayer.h" |
| 43 #include "public/platform/WebImageLayer.h" | 43 #include "public/platform/WebImageLayer.h" |
| 44 #include "public/platform/WebInvalidationDebugAnnotations.h" |
| 44 #include "public/platform/WebLayerClient.h" | 45 #include "public/platform/WebLayerClient.h" |
| 45 #include "public/platform/WebLayerScrollClient.h" | 46 #include "public/platform/WebLayerScrollClient.h" |
| 46 #include "public/platform/WebNinePatchLayer.h" | 47 #include "public/platform/WebNinePatchLayer.h" |
| 47 #include "wtf/OwnPtr.h" | 48 #include "wtf/OwnPtr.h" |
| 48 #include "wtf/PassOwnPtr.h" | 49 #include "wtf/PassOwnPtr.h" |
| 49 #include "wtf/Vector.h" | 50 #include "wtf/Vector.h" |
| 50 | 51 |
| 51 namespace blink { | 52 namespace blink { |
| 52 | 53 |
| 53 class FloatRect; | 54 class FloatRect; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void setBlendMode(WebBlendMode); | 177 void setBlendMode(WebBlendMode); |
| 177 void setIsRootForIsolatedGroup(bool); | 178 void setIsRootForIsolatedGroup(bool); |
| 178 | 179 |
| 179 void setFilters(const FilterOperations&); | 180 void setFilters(const FilterOperations&); |
| 180 | 181 |
| 181 // Some GraphicsLayers paint only the foreground or the background content | 182 // Some GraphicsLayers paint only the foreground or the background content |
| 182 void setPaintingPhase(GraphicsLayerPaintingPhase); | 183 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 183 | 184 |
| 184 void setNeedsDisplay(); | 185 void setNeedsDisplay(); |
| 185 // mark the given rect (in layer coords) as needing dispay. Never goes deep. | 186 // mark the given rect (in layer coords) as needing dispay. Never goes deep. |
| 186 void setNeedsDisplayInRect(const FloatRect&); | 187 void setNeedsDisplayInRect(const FloatRect&, WebInvalidationDebugAnnotations
); |
| 187 | 188 |
| 188 void setContentsNeedsDisplay(); | 189 void setContentsNeedsDisplay(); |
| 189 | 190 |
| 190 // Set that the position/size of the contents (image or video). | 191 // Set that the position/size of the contents (image or video). |
| 191 void setContentsRect(const IntRect&); | 192 void setContentsRect(const IntRect&); |
| 192 | 193 |
| 193 // Return true if the animation is handled by the compositing system. If thi
s returns | 194 // Return true if the animation is handled by the compositing system. If thi
s returns |
| 194 // false, the animation will be run by AnimationController. | 195 // false, the animation will be run by AnimationController. |
| 195 // These methods handle both transitions and keyframe animations. | 196 // These methods handle both transitions and keyframe animations. |
| 196 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); | 197 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 }; | 345 }; |
| 345 | 346 |
| 346 } // namespace blink | 347 } // namespace blink |
| 347 | 348 |
| 348 #ifndef NDEBUG | 349 #ifndef NDEBUG |
| 349 // Outside the WebCore namespace for ease of invocation from gdb. | 350 // Outside the WebCore namespace for ease of invocation from gdb. |
| 350 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 351 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 351 #endif | 352 #endif |
| 352 | 353 |
| 353 #endif // GraphicsLayer_h | 354 #endif // GraphicsLayer_h |
| OLD | NEW |