| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 void setBackgroundFilters(const FilterOperations&); | 191 void setBackgroundFilters(const FilterOperations&); |
| 192 | 192 |
| 193 // Some GraphicsLayers paint only the foreground or the background content | 193 // Some GraphicsLayers paint only the foreground or the background content |
| 194 void setPaintingPhase(GraphicsLayerPaintingPhase); | 194 void setPaintingPhase(GraphicsLayerPaintingPhase); |
| 195 | 195 |
| 196 void setNeedsDisplay(); | 196 void setNeedsDisplay(); |
| 197 // mark the given rect (in layer coords) as needing dispay. Never goes deep. | 197 // mark the given rect (in layer coords) as needing dispay. Never goes deep. |
| 198 void setNeedsDisplayInRect(const FloatRect&); | 198 void setNeedsDisplayInRect(const FloatRect&); |
| 199 | 199 |
| 200 void setContentsNeedsDisplay(); | 200 void setContentsNeedsDisplay(); |
| 201 void setContentsNeedsDisplayInRect(const FloatRect&); |
| 201 | 202 |
| 202 // Set that the position/size of the contents (image or video). | 203 // Set that the position/size of the contents (image or video). |
| 203 void setContentsRect(const IntRect&); | 204 void setContentsRect(const IntRect&); |
| 204 | 205 |
| 205 // Return true if the animation is handled by the compositing system. If thi
s returns | 206 // Return true if the animation is handled by the compositing system. If thi
s returns |
| 206 // false, the animation will be run by AnimationController. | 207 // false, the animation will be run by AnimationController. |
| 207 // These methods handle both transitions and keyframe animations. | 208 // These methods handle both transitions and keyframe animations. |
| 208 bool addAnimation(PassOwnPtr<blink::WebAnimation>); | 209 bool addAnimation(PassOwnPtr<blink::WebAnimation>); |
| 209 void pauseAnimation(int animationId, double /*timeOffset*/); | 210 void pauseAnimation(int animationId, double /*timeOffset*/); |
| 210 void removeAnimation(int animationId); | 211 void removeAnimation(int animationId); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 }; | 368 }; |
| 368 | 369 |
| 369 } // namespace WebCore | 370 } // namespace WebCore |
| 370 | 371 |
| 371 #ifndef NDEBUG | 372 #ifndef NDEBUG |
| 372 // Outside the WebCore namespace for ease of invocation from gdb. | 373 // Outside the WebCore namespace for ease of invocation from gdb. |
| 373 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); | 374 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); |
| 374 #endif | 375 #endif |
| 375 | 376 |
| 376 #endif // GraphicsLayer_h | 377 #endif // GraphicsLayer_h |
| OLD | NEW |