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