| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 friend class DeprecatedPaintLayerReflectionInfo; // For setParent | 130 friend class DeprecatedPaintLayerReflectionInfo; // For setParent |
| 131 friend class DeprecatedPaintLayerScrollableArea; // For setParent. | 131 friend class DeprecatedPaintLayerScrollableArea; // For setParent. |
| 132 friend class LayoutObjectChildList; | 132 friend class LayoutObjectChildList; |
| 133 WTF_MAKE_NONCOPYABLE(LayoutObject); | 133 WTF_MAKE_NONCOPYABLE(LayoutObject); |
| 134 public: | 134 public: |
| 135 // Anonymous objects should pass the document as their node, and they will t
hen automatically be | 135 // Anonymous objects should pass the document as their node, and they will t
hen automatically be |
| 136 // marked as anonymous in the constructor. | 136 // marked as anonymous in the constructor. |
| 137 explicit LayoutObject(Node*); | 137 explicit LayoutObject(Node*); |
| 138 virtual ~LayoutObject(); | 138 virtual ~LayoutObject(); |
| 139 | 139 |
| 140 // Note: This will soon just return the name of the object; Fix comment when
crbug.com/463967 is done. | 140 // Returns the name of the layout object. |
| 141 // Returns the decorated name used by run-layout-tests. The name contains th
e name of the object | |
| 142 // along with extra information about the layout object state (e.g. position
ing). | |
| 143 virtual const char* name() const = 0; | 141 virtual const char* name() const = 0; |
| 144 | 142 |
| 145 // Returns the decorated name used by run-layout-tests. The name contains th
e name of the object | 143 // Returns the decorated name used by run-layout-tests. The name contains th
e name of the object |
| 146 // along with extra information about the layout object state (e.g. position
ing). | 144 // along with extra information about the layout object state (e.g. position
ing). |
| 147 String decoratedName() const; | 145 String decoratedName() const; |
| 148 | 146 |
| 149 // Returns the decorated name along with the debug information from the asso
ciated Node object. | 147 // Returns the decorated name along with the debug information from the asso
ciated Node object. |
| 150 String debugName() const; | 148 String debugName() const; |
| 151 | 149 |
| 152 LayoutObject* parent() const { return m_parent; } | 150 LayoutObject* parent() const { return m_parent; } |
| (...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 void showTree(const blink::LayoutObject*); | 1656 void showTree(const blink::LayoutObject*); |
| 1659 void showLineTree(const blink::LayoutObject*); | 1657 void showLineTree(const blink::LayoutObject*); |
| 1660 void showLayoutTree(const blink::LayoutObject* object1); | 1658 void showLayoutTree(const blink::LayoutObject* object1); |
| 1661 // We don't make object2 an optional parameter so that showLayoutTree | 1659 // We don't make object2 an optional parameter so that showLayoutTree |
| 1662 // can be called from gdb easily. | 1660 // can be called from gdb easily. |
| 1663 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1661 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1664 | 1662 |
| 1665 #endif | 1663 #endif |
| 1666 | 1664 |
| 1667 #endif // LayoutObject_h | 1665 #endif // LayoutObject_h |
| OLD | NEW |