OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. |
5 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. | 5 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 10 matching lines...) Expand all Loading... |
21 */ | 21 */ |
22 | 22 |
23 #ifndef RenderLayerModelObject_h | 23 #ifndef RenderLayerModelObject_h |
24 #define RenderLayerModelObject_h | 24 #define RenderLayerModelObject_h |
25 | 25 |
26 #include "core/rendering/RenderObject.h" | 26 #include "core/rendering/RenderObject.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class RenderLayer; | 30 class RenderLayer; |
31 class CompositedLayerMapping; | |
32 class ScrollableArea; | 31 class ScrollableArea; |
33 | 32 |
34 enum LayerType { | 33 enum LayerType { |
35 NoLayer, | 34 NoLayer, |
36 NormalLayer, | 35 NormalLayer, |
37 // A forced or overflow clip layer is required for bookkeeping purposes, | 36 // A forced or overflow clip layer is required for bookkeeping purposes, |
38 // but does not force a layer to be self painting. | 37 // but does not force a layer to be self painting. |
39 OverflowClipLayer, | 38 OverflowClipLayer, |
40 ForcedLayer | 39 ForcedLayer |
41 }; | 40 }; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 79 |
81 // Used to store state between styleWillChange and styleDidChange | 80 // Used to store state between styleWillChange and styleDidChange |
82 static bool s_wasFloating; | 81 static bool s_wasFloating; |
83 }; | 82 }; |
84 | 83 |
85 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderLayerModelObject, isLayerModelObject()); | 84 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderLayerModelObject, isLayerModelObject()); |
86 | 85 |
87 } // namespace blink | 86 } // namespace blink |
88 | 87 |
89 #endif // RenderLayerModelObject_h | 88 #endif // RenderLayerModelObject_h |
OLD | NEW |