Chromium Code Reviews| 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 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1631 virtual void clearPreviousVisualRects(); | 1631 virtual void clearPreviousVisualRects(); |
| 1632 | 1632 |
| 1633 const LayoutPoint& paintOffset() const { return m_paintOffset; } | 1633 const LayoutPoint& paintOffset() const { return m_paintOffset; } |
| 1634 | 1634 |
| 1635 PaintInvalidationReason fullPaintInvalidationReason() const { | 1635 PaintInvalidationReason fullPaintInvalidationReason() const { |
| 1636 return m_bitfields.fullPaintInvalidationReason(); | 1636 return m_bitfields.fullPaintInvalidationReason(); |
| 1637 } | 1637 } |
| 1638 bool shouldDoFullPaintInvalidation() const { | 1638 bool shouldDoFullPaintInvalidation() const { |
| 1639 return m_bitfields.fullPaintInvalidationReason() != PaintInvalidationNone; | 1639 return m_bitfields.fullPaintInvalidationReason() != PaintInvalidationNone; |
| 1640 } | 1640 } |
| 1641 void setShouldDoFullPaintInvalidation( | 1641 virtual void setShouldDoFullPaintInvalidation( |
|
mlamouri (slow - plz ping)
2017/03/31 11:20:16
Instead of overriding this method, can you look at
sabbakumov
2017/04/03 04:12:45
I think that we need to test the interaction betwe
| |
| 1642 PaintInvalidationReason = PaintInvalidationFull); | 1642 PaintInvalidationReason = PaintInvalidationFull); |
| 1643 void setShouldDoFullPaintInvalidationWithoutGeometryChange( | 1643 void setShouldDoFullPaintInvalidationWithoutGeometryChange( |
| 1644 PaintInvalidationReason = PaintInvalidationFull); | 1644 PaintInvalidationReason = PaintInvalidationFull); |
| 1645 void clearShouldDoFullPaintInvalidation() { | 1645 void clearShouldDoFullPaintInvalidation() { |
| 1646 m_bitfields.setFullPaintInvalidationReason(PaintInvalidationNone); | 1646 m_bitfields.setFullPaintInvalidationReason(PaintInvalidationNone); |
| 1647 } | 1647 } |
| 1648 | 1648 |
| 1649 void clearPaintInvalidationFlags(); | 1649 void clearPaintInvalidationFlags(); |
| 1650 | 1650 |
| 1651 bool mayNeedPaintInvalidation() const { | 1651 bool mayNeedPaintInvalidation() const { |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2781 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2781 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2782 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2782 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2783 // We don't make object2 an optional parameter so that showLayoutTree | 2783 // We don't make object2 an optional parameter so that showLayoutTree |
| 2784 // can be called from gdb easily. | 2784 // can be called from gdb easily. |
| 2785 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2785 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2786 const blink::LayoutObject* object2); | 2786 const blink::LayoutObject* object2); |
| 2787 | 2787 |
| 2788 #endif | 2788 #endif |
| 2789 | 2789 |
| 2790 #endif // LayoutObject_h | 2790 #endif // LayoutObject_h |
| OLD | NEW |