| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef GraphicsLayerClient_h | 26 #ifndef GraphicsLayerClient_h |
| 27 #define GraphicsLayerClient_h | 27 #define GraphicsLayerClient_h |
| 28 | 28 |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "wtf/text/WTFString.h" | 30 #include "wtf/text/WTFString.h" |
| 31 | 31 |
| 32 namespace WebCore { | 32 namespace blink { |
| 33 | 33 |
| 34 class FloatPoint; | 34 class FloatPoint; |
| 35 class GraphicsContext; | 35 class GraphicsContext; |
| 36 class GraphicsLayer; | 36 class GraphicsLayer; |
| 37 class IntPoint; | 37 class IntPoint; |
| 38 class IntRect; | 38 class IntRect; |
| 39 class TransformationMatrix; | 39 class TransformationMatrix; |
| 40 | 40 |
| 41 enum GraphicsLayerPaintingPhaseFlags { | 41 enum GraphicsLayerPaintingPhaseFlags { |
| 42 GraphicsLayerPaintBackground = (1 << 0), | 42 GraphicsLayerPaintBackground = (1 << 0), |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #if ENABLE(ASSERT) | 74 #if ENABLE(ASSERT) |
| 75 // CompositedLayerMapping overrides this to verify that it is not | 75 // CompositedLayerMapping overrides this to verify that it is not |
| 76 // currently painting contents. An ASSERT fails, if it is. | 76 // currently painting contents. An ASSERT fails, if it is. |
| 77 // This is executed in GraphicsLayer construction and destruction | 77 // This is executed in GraphicsLayer construction and destruction |
| 78 // to verify that we don't create or destroy GraphicsLayers | 78 // to verify that we don't create or destroy GraphicsLayers |
| 79 // while painting. | 79 // while painting. |
| 80 virtual void verifyNotPainting() { } | 80 virtual void verifyNotPainting() { } |
| 81 #endif | 81 #endif |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace WebCore | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif // GraphicsLayerClient_h | 86 #endif // GraphicsLayerClient_h |
| OLD | NEW |