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 23 matching lines...) Expand all Loading... |
34 class IntPoint; | 34 class IntPoint; |
35 class IntRect; | 35 class IntRect; |
36 class TransformationMatrix; | 36 class TransformationMatrix; |
37 | 37 |
38 enum GraphicsLayerPaintingPhaseFlags { | 38 enum GraphicsLayerPaintingPhaseFlags { |
39 GraphicsLayerPaintBackground = (1 << 0), | 39 GraphicsLayerPaintBackground = (1 << 0), |
40 GraphicsLayerPaintForeground = (1 << 1), | 40 GraphicsLayerPaintForeground = (1 << 1), |
41 GraphicsLayerPaintMask = (1 << 2), | 41 GraphicsLayerPaintMask = (1 << 2), |
42 GraphicsLayerPaintOverflowContents = (1 << 3), | 42 GraphicsLayerPaintOverflowContents = (1 << 3), |
43 GraphicsLayerPaintCompositedScroll = (1 << 4), | 43 GraphicsLayerPaintCompositedScroll = (1 << 4), |
| 44 GraphicsLayerPaintBorderRadiusMask = (1 << 5), |
44 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap
hicsLayerPaintForeground | GraphicsLayerPaintMask) | 45 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap
hicsLayerPaintForeground | GraphicsLayerPaintMask) |
45 }; | 46 }; |
46 typedef unsigned GraphicsLayerPaintingPhase; | 47 typedef unsigned GraphicsLayerPaintingPhase; |
47 | 48 |
48 enum AnimatedPropertyID { | 49 enum AnimatedPropertyID { |
49 AnimatedPropertyInvalid, | 50 AnimatedPropertyInvalid, |
50 AnimatedPropertyWebkitTransform, | 51 AnimatedPropertyWebkitTransform, |
51 AnimatedPropertyOpacity, | 52 AnimatedPropertyOpacity, |
52 AnimatedPropertyBackgroundColor, | 53 AnimatedPropertyBackgroundColor, |
53 AnimatedPropertyWebkitFilter | 54 AnimatedPropertyWebkitFilter |
(...skipping 29 matching lines...) Expand all Loading... |
83 // This is executed in GraphicsLayer construction and destruction | 84 // This is executed in GraphicsLayer construction and destruction |
84 // to verify that we don't create or destroy GraphicsLayers | 85 // to verify that we don't create or destroy GraphicsLayers |
85 // while painting. | 86 // while painting. |
86 virtual void verifyNotPainting() { } | 87 virtual void verifyNotPainting() { } |
87 #endif | 88 #endif |
88 }; | 89 }; |
89 | 90 |
90 } // namespace WebCore | 91 } // namespace WebCore |
91 | 92 |
92 #endif // GraphicsLayerClient_h | 93 #endif // GraphicsLayerClient_h |
OLD | NEW |