| 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 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 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 30 matching lines...) Expand all Loading... |
| 41 BackgroundBleedClipBackground, | 41 BackgroundBleedClipBackground, |
| 42 BackgroundBleedBackgroundOverBorder | 42 BackgroundBleedBackgroundOverBorder |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 enum ContentChangeType { | 45 enum ContentChangeType { |
| 46 ImageChanged, | 46 ImageChanged, |
| 47 CanvasChanged, | 47 CanvasChanged, |
| 48 CanvasContextChanged | 48 CanvasContextChanged |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 struct BorderEdge; | |
| 52 class RenderTextFragment; | 51 class RenderTextFragment; |
| 53 class BackgroundImageGeometry; | 52 class BackgroundImageGeometry; |
| 54 | 53 |
| 55 // This class is the base for all objects that adhere to the CSS box model as de
scribed | 54 // This class is the base for all objects that adhere to the CSS box model as de
scribed |
| 56 // at http://www.w3.org/TR/CSS21/box.html | 55 // at http://www.w3.org/TR/CSS21/box.html |
| 57 | 56 |
| 58 class RenderBoxModelObject : public RenderLayerModelObject { | 57 class RenderBoxModelObject : public RenderLayerModelObject { |
| 59 public: | 58 public: |
| 60 RenderBoxModelObject(ContainerNode*); | 59 RenderBoxModelObject(ContainerNode*); |
| 61 virtual ~RenderBoxModelObject(); | 60 virtual ~RenderBoxModelObject(); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 private: | 221 private: |
| 223 LayoutUnit computedCSSPadding(const Length&) const; | 222 LayoutUnit computedCSSPadding(const Length&) const; |
| 224 virtual bool isBoxModelObject() const OVERRIDE FINAL { return true; } | 223 virtual bool isBoxModelObject() const OVERRIDE FINAL { return true; } |
| 225 }; | 224 }; |
| 226 | 225 |
| 227 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); | 226 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); |
| 228 | 227 |
| 229 } // namespace blink | 228 } // namespace blink |
| 230 | 229 |
| 231 #endif // RenderBoxModelObject_h | 230 #endif // RenderBoxModelObject_h |
| OLD | NEW |