| 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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 | 1290 |
| 1291 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con
st | 1291 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con
st |
| 1292 { | 1292 { |
| 1293 return mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() ||
shouldInvalidateSelection() || m_bitfields.childShouldCheckForPaintInvalidation(
); | 1293 return mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() ||
shouldInvalidateSelection() || m_bitfields.childShouldCheckForPaintInvalidation(
); |
| 1294 } | 1294 } |
| 1295 | 1295 |
| 1296 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h
asTransformRelatedProperty() && !hasReflection() && !style()->isFlippedBlocksWri
tingMode(); } | 1296 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h
asTransformRelatedProperty() && !hasReflection() && !style()->isFlippedBlocksWri
tingMode(); } |
| 1297 | 1297 |
| 1298 virtual LayoutRect viewRect() const; | 1298 virtual LayoutRect viewRect() const; |
| 1299 | 1299 |
| 1300 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 1300 DisplayItemClient displayItemClient() const { return DisplayItemClient(this)
; } |
| 1301 | 1301 |
| 1302 void invalidateDisplayItemClient(const DisplayItemClientWrapper&) const; | 1302 void invalidateDisplayItemClient(const DisplayItemClientWrapper&) const; |
| 1303 void invalidateDisplayItemClientForNonCompositingDescendants() const { inval
idateDisplayItemClientForNonCompositingDescendantsOf(*this); } | 1303 void invalidateDisplayItemClientForNonCompositingDescendants() const { inval
idateDisplayItemClientForNonCompositingDescendantsOf(*this); } |
| 1304 // A normal object should use invalidateDisplayItemClientForNonCompositingDe
scendants() | 1304 // A normal object should use invalidateDisplayItemClientForNonCompositingDe
scendants() |
| 1305 // to invalidate its descendants which are painted on the same backing. Howe
ver, for | 1305 // to invalidate its descendants which are painted on the same backing. Howe
ver, for |
| 1306 // an object (e.g. LayoutScrollbarPart, custom scroll corner, custom resizer
) which is | 1306 // an object (e.g. LayoutScrollbarPart, custom scroll corner, custom resizer
) which is |
| 1307 // not hooked up in the layout tree and not able to find its paint backing,
it should | 1307 // not hooked up in the layout tree and not able to find its paint backing,
it should |
| 1308 // let its owning layout object call the following function. | 1308 // let its owning layout object call the following function. |
| 1309 // FIXME: should we hook up scrollbar parts in the layout tree? crbug.com/48
4263. | 1309 // FIXME: should we hook up scrollbar parts in the layout tree? crbug.com/48
4263. |
| 1310 void invalidateDisplayItemClientForNonCompositingDescendantsOf(const LayoutO
bject&) const; | 1310 void invalidateDisplayItemClientForNonCompositingDescendantsOf(const LayoutO
bject&) const; |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 void showTree(const blink::LayoutObject*); | 2047 void showTree(const blink::LayoutObject*); |
| 2048 void showLineTree(const blink::LayoutObject*); | 2048 void showLineTree(const blink::LayoutObject*); |
| 2049 void showLayoutTree(const blink::LayoutObject* object1); | 2049 void showLayoutTree(const blink::LayoutObject* object1); |
| 2050 // We don't make object2 an optional parameter so that showLayoutTree | 2050 // We don't make object2 an optional parameter so that showLayoutTree |
| 2051 // can be called from gdb easily. | 2051 // can be called from gdb easily. |
| 2052 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2052 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2053 | 2053 |
| 2054 #endif | 2054 #endif |
| 2055 | 2055 |
| 2056 #endif // LayoutObject_h | 2056 #endif // LayoutObject_h |
| OLD | NEW |