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 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 // not including children which will be invalidated normally during invalida
teTreeIfNeeded() and | 1354 // not including children which will be invalidated normally during invalida
teTreeIfNeeded() and |
1355 // parts which are invalidated separately (e.g. scrollbars). | 1355 // parts which are invalidated separately (e.g. scrollbars). |
1356 // The caller should ensure the painting layer has been setNeedsRepaint befo
re calling this function. | 1356 // The caller should ensure the painting layer has been setNeedsRepaint befo
re calling this function. |
1357 virtual void invalidateDisplayItemClients(PaintInvalidationReason) const; | 1357 virtual void invalidateDisplayItemClients(PaintInvalidationReason) const; |
1358 | 1358 |
1359 virtual bool hasNonCompositedScrollbars() const { return false; } | 1359 virtual bool hasNonCompositedScrollbars() const { return false; } |
1360 | 1360 |
1361 // Called before anonymousChild.setStyle(). Override to set custom styles fo
r the child. | 1361 // Called before anonymousChild.setStyle(). Override to set custom styles fo
r the child. |
1362 virtual void updateAnonymousChildStyle(const LayoutObject& anonymousChild, C
omputedStyle& style) const { } | 1362 virtual void updateAnonymousChildStyle(const LayoutObject& anonymousChild, C
omputedStyle& style) const { } |
1363 | 1363 |
| 1364 // Returns a rect corresponding to this LayoutObject's bounds for use in deb
ugging output |
| 1365 virtual LayoutRect debugRect() const; |
| 1366 |
1364 // Painters can use const methods only, except for these explicitly declared
methods. | 1367 // Painters can use const methods only, except for these explicitly declared
methods. |
1365 class MutableForPainting { | 1368 class MutableForPainting { |
1366 public: | 1369 public: |
1367 void clearPaintInvalidationFlags() { m_layoutObject.clearPaintInvalidati
onFlags(); } | 1370 void clearPaintInvalidationFlags() { m_layoutObject.clearPaintInvalidati
onFlags(); } |
1368 void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason) {
m_layoutObject.setShouldDoFullPaintInvalidation(reason); } | 1371 void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason) {
m_layoutObject.setShouldDoFullPaintInvalidation(reason); } |
1369 void ensureIsReadyForPaintInvalidation() { m_layoutObject.ensureIsReadyF
orPaintInvalidation(); } | 1372 void ensureIsReadyForPaintInvalidation() { m_layoutObject.ensureIsReadyF
orPaintInvalidation(); } |
1370 | 1373 |
1371 void setPreviousPaintInvalidationRect(const LayoutRect& r) { m_layoutObj
ect.setPreviousPaintInvalidationRect(r); } | 1374 void setPreviousPaintInvalidationRect(const LayoutRect& r) { m_layoutObj
ect.setPreviousPaintInvalidationRect(r); } |
1372 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint&
p) { m_layoutObject.setPreviousPositionFromPaintInvalidationBacking(p); } | 1375 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint&
p) { m_layoutObject.setPreviousPositionFromPaintInvalidationBacking(p); } |
1373 void setPreviousBackgroundObscured(bool b) { m_layoutObject.setPreviousB
ackgroundObscured(b); } | 1376 void setPreviousBackgroundObscured(bool b) { m_layoutObject.setPreviousB
ackgroundObscured(b); } |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2129 void showTree(const blink::LayoutObject*); | 2132 void showTree(const blink::LayoutObject*); |
2130 void showLineTree(const blink::LayoutObject*); | 2133 void showLineTree(const blink::LayoutObject*); |
2131 void showLayoutTree(const blink::LayoutObject* object1); | 2134 void showLayoutTree(const blink::LayoutObject* object1); |
2132 // We don't make object2 an optional parameter so that showLayoutTree | 2135 // We don't make object2 an optional parameter so that showLayoutTree |
2133 // can be called from gdb easily. | 2136 // can be called from gdb easily. |
2134 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2137 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2135 | 2138 |
2136 #endif | 2139 #endif |
2137 | 2140 |
2138 #endif // LayoutObject_h | 2141 #endif // LayoutObject_h |
OLD | NEW |