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 13 matching lines...) Expand all Loading... |
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 blink { | 32 namespace blink { |
33 | 33 |
34 class FloatPoint; | |
35 class GraphicsContext; | 34 class GraphicsContext; |
36 class GraphicsLayer; | 35 class GraphicsLayer; |
37 class IntPoint; | |
38 class IntRect; | 36 class IntRect; |
39 class TransformationMatrix; | |
40 | 37 |
41 enum GraphicsLayerPaintingPhaseFlags { | 38 enum GraphicsLayerPaintingPhaseFlags { |
42 GraphicsLayerPaintBackground = (1 << 0), | 39 GraphicsLayerPaintBackground = (1 << 0), |
43 GraphicsLayerPaintForeground = (1 << 1), | 40 GraphicsLayerPaintForeground = (1 << 1), |
44 GraphicsLayerPaintMask = (1 << 2), | 41 GraphicsLayerPaintMask = (1 << 2), |
45 GraphicsLayerPaintOverflowContents = (1 << 3), | 42 GraphicsLayerPaintOverflowContents = (1 << 3), |
46 GraphicsLayerPaintCompositedScroll = (1 << 4), | 43 GraphicsLayerPaintCompositedScroll = (1 << 4), |
47 GraphicsLayerPaintChildClippingMask = (1 << 5), | 44 GraphicsLayerPaintChildClippingMask = (1 << 5), |
48 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap
hicsLayerPaintForeground | GraphicsLayerPaintMask) | 45 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap
hicsLayerPaintForeground | GraphicsLayerPaintMask) |
49 }; | 46 }; |
(...skipping 27 matching lines...) Expand all Loading... |
77 // This is executed in GraphicsLayer construction and destruction | 74 // This is executed in GraphicsLayer construction and destruction |
78 // to verify that we don't create or destroy GraphicsLayers | 75 // to verify that we don't create or destroy GraphicsLayers |
79 // while painting. | 76 // while painting. |
80 virtual void verifyNotPainting() { } | 77 virtual void verifyNotPainting() { } |
81 #endif | 78 #endif |
82 }; | 79 }; |
83 | 80 |
84 } // namespace blink | 81 } // namespace blink |
85 | 82 |
86 #endif // GraphicsLayerClient_h | 83 #endif // GraphicsLayerClient_h |
OLD | NEW |