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 2120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2131 | 2131 |
2132 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } | 2132 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } |
2133 | 2133 |
2134 static bool isAllowedToModifyLayoutTreeStructure(Document&); | 2134 static bool isAllowedToModifyLayoutTreeStructure(Document&); |
2135 | 2135 |
2136 // Returns the parent for paint invalidation. For LayoutView, returns the | 2136 // Returns the parent for paint invalidation. For LayoutView, returns the |
2137 // owner layout object in the containing frame if any, or nullptr. | 2137 // owner layout object in the containing frame if any, or nullptr. |
2138 inline LayoutObject* paintInvalidationParent() const; | 2138 inline LayoutObject* paintInvalidationParent() const; |
2139 LayoutObject* slowPaintInvalidationParentForTesting() const; | 2139 LayoutObject* slowPaintInvalidationParentForTesting() const; |
2140 | 2140 |
| 2141 void invalidatePaintForSelection(); |
| 2142 |
2141 RefPtr<ComputedStyle> m_style; | 2143 RefPtr<ComputedStyle> m_style; |
2142 | 2144 |
2143 // Oilpan: This untraced pointer to the owning Node is considered safe. | 2145 // Oilpan: This untraced pointer to the owning Node is considered safe. |
2144 UntracedMember<Node> m_node; | 2146 UntracedMember<Node> m_node; |
2145 | 2147 |
2146 LayoutObject* m_parent; | 2148 LayoutObject* m_parent; |
2147 LayoutObject* m_previous; | 2149 LayoutObject* m_previous; |
2148 LayoutObject* m_next; | 2150 LayoutObject* m_next; |
2149 | 2151 |
2150 #if DCHECK_IS_ON() | 2152 #if DCHECK_IS_ON() |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2772 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2773 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2774 // We don't make object2 an optional parameter so that showLayoutTree | 2776 // We don't make object2 an optional parameter so that showLayoutTree |
2775 // can be called from gdb easily. | 2777 // can be called from gdb easily. |
2776 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2777 const blink::LayoutObject* object2); | 2779 const blink::LayoutObject* object2); |
2778 | 2780 |
2779 #endif | 2781 #endif |
2780 | 2782 |
2781 #endif // LayoutObject_h | 2783 #endif // LayoutObject_h |
OLD | NEW |