| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 // Some GraphicsLayers paint only the foreground or the background content | 186 // Some GraphicsLayers paint only the foreground or the background content |
| 187 void setPaintingPhase(GraphicsLayerPaintingPhase); | 187 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 188 | 188 |
| 189 void setNeedsDisplay(); | 189 void setNeedsDisplay(); |
| 190 // Mark the given rect (in layer coords) as needing display. Never goes deep
. | 190 // Mark the given rect (in layer coords) as needing display. Never goes deep
. |
| 191 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); | 191 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); |
| 192 | 192 |
| 193 void setContentsNeedsDisplay(); | 193 void setContentsNeedsDisplay(); |
| 194 | 194 |
| 195 void invalidateDisplayItemClient(const DisplayItemClientWrapper&, PaintInval
idationReason, const IntRect& previousPaintInvalidationRect, const IntRect& newP
aintInvalidationRect); | 195 void invalidateDisplayItemClient(const DisplayItemClientWrapper&, PaintInval
idationReason, const IntRect* bounds); |
| 196 | 196 |
| 197 // Set that the position/size of the contents (image or video). | 197 // Set that the position/size of the contents (image or video). |
| 198 void setContentsRect(const IntRect&); | 198 void setContentsRect(const IntRect&); |
| 199 | 199 |
| 200 // Return true if the animation is handled by the compositing system. If thi
s returns | 200 // Return true if the animation is handled by the compositing system. If thi
s returns |
| 201 // false, the animation will be run by AnimationController. | 201 // false, the animation will be run by AnimationController. |
| 202 // These methods handle both transitions and keyframe animations. | 202 // These methods handle both transitions and keyframe animations. |
| 203 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); | 203 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); |
| 204 void pauseAnimation(int animationId, double /*timeOffset*/); | 204 void pauseAnimation(int animationId, double /*timeOffset*/); |
| 205 void removeAnimation(int animationId); | 205 void removeAnimation(int animationId); |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 }; | 369 }; |
| 370 | 370 |
| 371 } // namespace blink | 371 } // namespace blink |
| 372 | 372 |
| 373 #ifndef NDEBUG | 373 #ifndef NDEBUG |
| 374 // Outside the blink namespace for ease of invocation from gdb. | 374 // Outside the blink namespace for ease of invocation from gdb. |
| 375 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 375 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 376 #endif | 376 #endif |
| 377 | 377 |
| 378 #endif // GraphicsLayer_h | 378 #endif // GraphicsLayer_h |
| OLD | NEW |