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 25 matching lines...) Expand all Loading... |
36 class GraphicsLayer; | 36 class GraphicsLayer; |
37 class IntRect; | 37 class IntRect; |
38 | 38 |
39 enum GraphicsLayerPaintingPhaseFlags { | 39 enum GraphicsLayerPaintingPhaseFlags { |
40 GraphicsLayerPaintBackground = (1 << 0), | 40 GraphicsLayerPaintBackground = (1 << 0), |
41 GraphicsLayerPaintForeground = (1 << 1), | 41 GraphicsLayerPaintForeground = (1 << 1), |
42 GraphicsLayerPaintMask = (1 << 2), | 42 GraphicsLayerPaintMask = (1 << 2), |
43 GraphicsLayerPaintOverflowContents = (1 << 3), | 43 GraphicsLayerPaintOverflowContents = (1 << 3), |
44 GraphicsLayerPaintCompositedScroll = (1 << 4), | 44 GraphicsLayerPaintCompositedScroll = (1 << 4), |
45 GraphicsLayerPaintChildClippingMask = (1 << 5), | 45 GraphicsLayerPaintChildClippingMask = (1 << 5), |
46 GraphicsLayerPaintDecoration = (1 << 6), | 46 GraphicsLayerPaintAncestorClippingMask = (1 << 6), |
| 47 GraphicsLayerPaintDecoration = (1 << 7), |
47 GraphicsLayerPaintAllWithOverflowClip = | 48 GraphicsLayerPaintAllWithOverflowClip = |
48 (GraphicsLayerPaintBackground | GraphicsLayerPaintForeground | | 49 (GraphicsLayerPaintBackground | GraphicsLayerPaintForeground | |
49 GraphicsLayerPaintMask | | 50 GraphicsLayerPaintMask | |
50 GraphicsLayerPaintDecoration) | 51 GraphicsLayerPaintDecoration) |
51 }; | 52 }; |
52 typedef unsigned GraphicsLayerPaintingPhase; | 53 typedef unsigned GraphicsLayerPaintingPhase; |
53 | 54 |
54 enum { | 55 enum { |
55 LayerTreeNormal = 0, | 56 LayerTreeNormal = 0, |
56 // Dump extra debugging info like layer addresses. | 57 // Dump extra debugging info like layer addresses. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // This is executed in GraphicsLayer construction and destruction | 98 // This is executed in GraphicsLayer construction and destruction |
98 // to verify that we don't create or destroy GraphicsLayers | 99 // to verify that we don't create or destroy GraphicsLayers |
99 // while painting. | 100 // while painting. |
100 virtual void verifyNotPainting() {} | 101 virtual void verifyNotPainting() {} |
101 #endif | 102 #endif |
102 }; | 103 }; |
103 | 104 |
104 } // namespace blink | 105 } // namespace blink |
105 | 106 |
106 #endif // GraphicsLayerClient_h | 107 #endif // GraphicsLayerClient_h |
OLD | NEW |