| 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 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1145 // Overrides should call the superclass at the start. |oldStyle| will be 0 t
he first | 1145 // Overrides should call the superclass at the start. |oldStyle| will be 0 t
he first |
| 1146 // time this function is called. | 1146 // time this function is called. |
| 1147 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle); | 1147 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle); |
| 1148 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); | 1148 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); |
| 1149 virtual void updateAnonymousChildStyle(const LayoutObject& child, ComputedSt
yle& style) const { } | 1149 virtual void updateAnonymousChildStyle(const LayoutObject& child, ComputedSt
yle& style) const { } |
| 1150 | 1150 |
| 1151 protected: | 1151 protected: |
| 1152 void setSelfMayNeedPaintInvalidation(); | 1152 void setSelfMayNeedPaintInvalidation(); |
| 1153 | 1153 |
| 1154 virtual void willBeDestroyed(); | 1154 virtual void willBeDestroyed(); |
| 1155 void postDestroy(); | |
| 1156 | 1155 |
| 1157 virtual void insertedIntoTree(); | 1156 virtual void insertedIntoTree(); |
| 1158 virtual void willBeRemovedFromTree(); | 1157 virtual void willBeRemovedFromTree(); |
| 1159 | 1158 |
| 1160 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_
node = document; } | 1159 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_
node = document; } |
| 1161 | 1160 |
| 1162 // Add hit-test rects for the layout tree rooted at this node to the provide
d collection on a | 1161 // Add hit-test rects for the layout tree rooted at this node to the provide
d collection on a |
| 1163 // per-Layer basis. | 1162 // per-Layer basis. |
| 1164 // currentLayer must be the enclosing layer, and layerOffset is the current
offset within | 1163 // currentLayer must be the enclosing layer, and layerOffset is the current
offset within |
| 1165 // this layer. Subclass implementations will add any offset for this layoutO
bject within it's | 1164 // this layer. Subclass implementations will add any offset for this layoutO
bject within it's |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1660 void showTree(const blink::LayoutObject*); | 1659 void showTree(const blink::LayoutObject*); |
| 1661 void showLineTree(const blink::LayoutObject*); | 1660 void showLineTree(const blink::LayoutObject*); |
| 1662 void showLayoutTree(const blink::LayoutObject* object1); | 1661 void showLayoutTree(const blink::LayoutObject* object1); |
| 1663 // We don't make object2 an optional parameter so that showLayoutTree | 1662 // We don't make object2 an optional parameter so that showLayoutTree |
| 1664 // can be called from gdb easily. | 1663 // can be called from gdb easily. |
| 1665 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1664 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1666 | 1665 |
| 1667 #endif | 1666 #endif |
| 1668 | 1667 |
| 1669 #endif // LayoutObject_h | 1668 #endif // LayoutObject_h |
| OLD | NEW |