| 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 1920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1931 // This stores the paint invalidation rect from the previous frame. This rec
t does *not* account for composited scrolling. See | 1931 // This stores the paint invalidation rect from the previous frame. This rec
t does *not* account for composited scrolling. See |
| 1932 // adjustInvalidationRectForCompositedScrolling(). | 1932 // adjustInvalidationRectForCompositedScrolling(). |
| 1933 LayoutRect m_previousPaintInvalidationRect; | 1933 LayoutRect m_previousPaintInvalidationRect; |
| 1934 | 1934 |
| 1935 // This stores the position in the paint invalidation backing's coordinate. | 1935 // This stores the position in the paint invalidation backing's coordinate. |
| 1936 // It is used to detect layoutObject shifts that forces a full invalidation. | 1936 // It is used to detect layoutObject shifts that forces a full invalidation. |
| 1937 // This point does *not* account for composited scrolling. See adjustInvalid
ationRectForCompositedScrolling(). | 1937 // This point does *not* account for composited scrolling. See adjustInvalid
ationRectForCompositedScrolling(). |
| 1938 // For slimmingPaintInvalidation, this stores the previous paint offset. | 1938 // For slimmingPaintInvalidation, this stores the previous paint offset. |
| 1939 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl
immingPaintInvalidation. | 1939 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl
immingPaintInvalidation. |
| 1940 LayoutPoint m_previousPositionFromPaintInvalidationBacking; | 1940 LayoutPoint m_previousPositionFromPaintInvalidationBacking; |
| 1941 | |
| 1942 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION | |
| 1943 }; | 1941 }; |
| 1944 | 1942 |
| 1945 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit
. | 1943 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit
. |
| 1946 class DeprecatedDisableModifyLayoutTreeStructureAsserts { | 1944 class DeprecatedDisableModifyLayoutTreeStructureAsserts { |
| 1947 STACK_ALLOCATED(); | 1945 STACK_ALLOCATED(); |
| 1948 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); | 1946 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); |
| 1949 public: | 1947 public: |
| 1950 DeprecatedDisableModifyLayoutTreeStructureAsserts(); | 1948 DeprecatedDisableModifyLayoutTreeStructureAsserts(); |
| 1951 | 1949 |
| 1952 static bool canModifyLayoutTreeStateInAnyState(); | 1950 static bool canModifyLayoutTreeStateInAnyState(); |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2171 void showTree(const blink::LayoutObject*); | 2169 void showTree(const blink::LayoutObject*); |
| 2172 void showLineTree(const blink::LayoutObject*); | 2170 void showLineTree(const blink::LayoutObject*); |
| 2173 void showLayoutTree(const blink::LayoutObject* object1); | 2171 void showLayoutTree(const blink::LayoutObject* object1); |
| 2174 // We don't make object2 an optional parameter so that showLayoutTree | 2172 // We don't make object2 an optional parameter so that showLayoutTree |
| 2175 // can be called from gdb easily. | 2173 // can be called from gdb easily. |
| 2176 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2174 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2177 | 2175 |
| 2178 #endif | 2176 #endif |
| 2179 | 2177 |
| 2180 #endif // LayoutObject_h | 2178 #endif // LayoutObject_h |
| OLD | NEW |