| 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 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1846 // | 1846 // |
| 1847 // In addition to tracking if an object needs its own paint properties | 1847 // In addition to tracking if an object needs its own paint properties |
| 1848 // updated, setNeedsPaintPropertyUpdate marks all ancestors as having a | 1848 // updated, setNeedsPaintPropertyUpdate marks all ancestors as having a |
| 1849 // descendant needing a paint property update too. | 1849 // descendant needing a paint property update too. |
| 1850 void SetNeedsPaintPropertyUpdate(); | 1850 void SetNeedsPaintPropertyUpdate(); |
| 1851 bool NeedsPaintPropertyUpdate() const { | 1851 bool NeedsPaintPropertyUpdate() const { |
| 1852 return bitfields_.NeedsPaintPropertyUpdate(); | 1852 return bitfields_.NeedsPaintPropertyUpdate(); |
| 1853 } | 1853 } |
| 1854 void SetSubtreeNeedsPaintPropertyUpdate() { | 1854 void SetSubtreeNeedsPaintPropertyUpdate() { |
| 1855 bitfields_.SetSubtreeNeedsPaintPropertyUpdate(true); | 1855 bitfields_.SetSubtreeNeedsPaintPropertyUpdate(true); |
| 1856 bitfields_.SetNeedsPaintPropertyUpdate(true); | 1856 SetNeedsPaintPropertyUpdate(); |
| 1857 } | 1857 } |
| 1858 bool SubtreeNeedsPaintPropertyUpdate() const { | 1858 bool SubtreeNeedsPaintPropertyUpdate() const { |
| 1859 return bitfields_.SubtreeNeedsPaintPropertyUpdate(); | 1859 return bitfields_.SubtreeNeedsPaintPropertyUpdate(); |
| 1860 } | 1860 } |
| 1861 bool DescendantNeedsPaintPropertyUpdate() const { | 1861 bool DescendantNeedsPaintPropertyUpdate() const { |
| 1862 return bitfields_.DescendantNeedsPaintPropertyUpdate(); | 1862 return bitfields_.DescendantNeedsPaintPropertyUpdate(); |
| 1863 } | 1863 } |
| 1864 // Main thread scrolling reasons require fully updating paint propeties of all | 1864 // Main thread scrolling reasons require fully updating paint propeties of all |
| 1865 // ancestors (see: ScrollPaintPropertyNode.h). | 1865 // ancestors (see: ScrollPaintPropertyNode.h). |
| 1866 void SetAncestorsNeedPaintPropertyUpdateForMainThreadScrolling(); | 1866 void SetAncestorsNeedPaintPropertyUpdateForMainThreadScrolling(); |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2823 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2823 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2824 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2824 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2825 // We don't make object2 an optional parameter so that showLayoutTree | 2825 // We don't make object2 an optional parameter so that showLayoutTree |
| 2826 // can be called from gdb easily. | 2826 // can be called from gdb easily. |
| 2827 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2827 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2828 const blink::LayoutObject* object2); | 2828 const blink::LayoutObject* object2); |
| 2829 | 2829 |
| 2830 #endif | 2830 #endif |
| 2831 | 2831 |
| 2832 #endif // LayoutObject_h | 2832 #endif // LayoutObject_h |
| OLD | NEW |