| 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 SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ | 23 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ |
| 24 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ | 24 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ |
| 25 | 25 |
| 26 #include "sky/engine/core/rendering/RenderObject.h" | 26 #include "sky/engine/core/rendering/RenderObject.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class RenderLayer; | 30 class RenderLayer; |
| 31 class ScrollableArea; | |
| 32 | 31 |
| 33 enum LayerType { | 32 enum LayerType { |
| 34 NoLayer, | 33 NoLayer, |
| 35 NormalLayer, | 34 NormalLayer, |
| 36 // A forced or overflow clip layer is required for bookkeeping purposes, | 35 // A forced or overflow clip layer is required for bookkeeping purposes, |
| 37 // but does not force a layer to be self painting. | 36 // but does not force a layer to be self painting. |
| 38 OverflowClipLayer, | 37 OverflowClipLayer, |
| 39 ForcedLayer | 38 ForcedLayer |
| 40 }; | 39 }; |
| 41 | 40 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 69 | 68 |
| 70 // Used to store state between styleWillChange and styleDidChange | 69 // Used to store state between styleWillChange and styleDidChange |
| 71 static bool s_wasFloating; | 70 static bool s_wasFloating; |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderLayerModelObject, isLayerModelObject()); | 73 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderLayerModelObject, isLayerModelObject()); |
| 75 | 74 |
| 76 } // namespace blink | 75 } // namespace blink |
| 77 | 76 |
| 78 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ | 77 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERMODELOBJECT_H_ |
| OLD | NEW |