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 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1823 // This stores the paint invalidation rect from the previous frame. This rec
t does *not* account for composited scrolling. See | 1823 // This stores the paint invalidation rect from the previous frame. This rec
t does *not* account for composited scrolling. See |
1824 // adjustInvalidationRectForCompositedScrolling(). | 1824 // adjustInvalidationRectForCompositedScrolling(). |
1825 LayoutRect m_previousPaintInvalidationRect; | 1825 LayoutRect m_previousPaintInvalidationRect; |
1826 | 1826 |
1827 // This stores the position in the paint invalidation backing's coordinate. | 1827 // This stores the position in the paint invalidation backing's coordinate. |
1828 // It is used to detect layoutObject shifts that forces a full invalidation. | 1828 // It is used to detect layoutObject shifts that forces a full invalidation. |
1829 // This point does *not* account for composited scrolling. See adjustInvalid
ationRectForCompositedScrolling(). | 1829 // This point does *not* account for composited scrolling. See adjustInvalid
ationRectForCompositedScrolling(). |
1830 // For slimmingPaintOffsetCaching, this stores the previous paint offset. | 1830 // For slimmingPaintOffsetCaching, this stores the previous paint offset. |
1831 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl
immingPaintOffsetCaching. | 1831 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl
immingPaintOffsetCaching. |
1832 LayoutPoint m_previousPositionFromPaintInvalidationBacking; | 1832 LayoutPoint m_previousPositionFromPaintInvalidationBacking; |
| 1833 |
| 1834 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION |
1833 }; | 1835 }; |
1834 | 1836 |
1835 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit
. | 1837 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit
. |
1836 class DeprecatedDisableModifyLayoutTreeStructureAsserts { | 1838 class DeprecatedDisableModifyLayoutTreeStructureAsserts { |
1837 STACK_ALLOCATED(); | 1839 STACK_ALLOCATED(); |
1838 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); | 1840 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); |
1839 public: | 1841 public: |
1840 DeprecatedDisableModifyLayoutTreeStructureAsserts(); | 1842 DeprecatedDisableModifyLayoutTreeStructureAsserts(); |
1841 | 1843 |
1842 static bool canModifyLayoutTreeStateInAnyState(); | 1844 static bool canModifyLayoutTreeStateInAnyState(); |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2061 void showTree(const blink::LayoutObject*); | 2063 void showTree(const blink::LayoutObject*); |
2062 void showLineTree(const blink::LayoutObject*); | 2064 void showLineTree(const blink::LayoutObject*); |
2063 void showLayoutTree(const blink::LayoutObject* object1); | 2065 void showLayoutTree(const blink::LayoutObject* object1); |
2064 // We don't make object2 an optional parameter so that showLayoutTree | 2066 // We don't make object2 an optional parameter so that showLayoutTree |
2065 // can be called from gdb easily. | 2067 // can be called from gdb easily. |
2066 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2068 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2067 | 2069 |
2068 #endif | 2070 #endif |
2069 | 2071 |
2070 #endif // LayoutObject_h | 2072 #endif // LayoutObject_h |
OLD | NEW |