| 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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2129 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } | 2129 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } |
| 2130 | 2130 |
| 2131 static bool isAllowedToModifyLayoutTreeStructure(Document&); | 2131 static bool isAllowedToModifyLayoutTreeStructure(Document&); |
| 2132 | 2132 |
| 2133 // Returns the parent for paint invalidation. For LayoutView, returns the | 2133 // Returns the parent for paint invalidation. For LayoutView, returns the |
| 2134 // owner layout object in the containing frame if any, or nullptr. | 2134 // owner layout object in the containing frame if any, or nullptr. |
| 2135 inline LayoutObject* paintInvalidationParent() const; | 2135 inline LayoutObject* paintInvalidationParent() const; |
| 2136 LayoutObject* slowPaintInvalidationParentForTesting() const; | 2136 LayoutObject* slowPaintInvalidationParentForTesting() const; |
| 2137 | 2137 |
| 2138 void invalidatePaintForSelection(); | 2138 void invalidatePaintForSelection(); |
| 2139 void applyPseudoStyleChanges(const ComputedStyle& oldStyle); |
| 2140 void applyFirstLineChanges(const ComputedStyle& oldStyle); |
| 2139 | 2141 |
| 2140 RefPtr<ComputedStyle> m_style; | 2142 RefPtr<ComputedStyle> m_style; |
| 2141 | 2143 |
| 2142 // Oilpan: This untraced pointer to the owning Node is considered safe. | 2144 // Oilpan: This untraced pointer to the owning Node is considered safe. |
| 2143 UntracedMember<Node> m_node; | 2145 UntracedMember<Node> m_node; |
| 2144 | 2146 |
| 2145 LayoutObject* m_parent; | 2147 LayoutObject* m_parent; |
| 2146 LayoutObject* m_previous; | 2148 LayoutObject* m_previous; |
| 2147 LayoutObject* m_next; | 2149 LayoutObject* m_next; |
| 2148 | 2150 |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2775 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2777 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2776 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2777 // We don't make object2 an optional parameter so that showLayoutTree | 2779 // We don't make object2 an optional parameter so that showLayoutTree |
| 2778 // can be called from gdb easily. | 2780 // can be called from gdb easily. |
| 2779 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2781 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2780 const blink::LayoutObject* object2); | 2782 const blink::LayoutObject* object2); |
| 2781 | 2783 |
| 2782 #endif | 2784 #endif |
| 2783 | 2785 |
| 2784 #endif // LayoutObject_h | 2786 #endif // LayoutObject_h |
| OLD | NEW |