Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1978313003: Reland of Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after
1946 // This stores the paint invalidation rect from the previous frame. This rec t does *not* account for composited scrolling. See 1946 // This stores the paint invalidation rect from the previous frame. This rec t does *not* account for composited scrolling. See
1947 // adjustInvalidationRectForCompositedScrolling(). 1947 // adjustInvalidationRectForCompositedScrolling().
1948 LayoutRect m_previousPaintInvalidationRect; 1948 LayoutRect m_previousPaintInvalidationRect;
1949 1949
1950 // This stores the position in the paint invalidation backing's coordinate. 1950 // This stores the position in the paint invalidation backing's coordinate.
1951 // It is used to detect layoutObject shifts that forces a full invalidation. 1951 // It is used to detect layoutObject shifts that forces a full invalidation.
1952 // This point does *not* account for composited scrolling. See adjustInvalid ationRectForCompositedScrolling(). 1952 // This point does *not* account for composited scrolling. See adjustInvalid ationRectForCompositedScrolling().
1953 // For slimmingPaintInvalidation, this stores the previous paint offset. 1953 // For slimmingPaintInvalidation, this stores the previous paint offset.
1954 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl immingPaintInvalidation. 1954 // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable sl immingPaintInvalidation.
1955 LayoutPoint m_previousPositionFromPaintInvalidationBacking; 1955 LayoutPoint m_previousPositionFromPaintInvalidationBacking;
1956
1957 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION
1956 }; 1958 };
1957 1959
1958 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit . 1960 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit .
1959 class DeprecatedDisableModifyLayoutTreeStructureAsserts { 1961 class DeprecatedDisableModifyLayoutTreeStructureAsserts {
1960 STACK_ALLOCATED(); 1962 STACK_ALLOCATED();
1961 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); 1963 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts);
1962 public: 1964 public:
1963 DeprecatedDisableModifyLayoutTreeStructureAsserts(); 1965 DeprecatedDisableModifyLayoutTreeStructureAsserts();
1964 1966
1965 static bool canModifyLayoutTreeStateInAnyState(); 1967 static bool canModifyLayoutTreeStateInAnyState();
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 void showTree(const blink::LayoutObject*); 2180 void showTree(const blink::LayoutObject*);
2179 void showLineTree(const blink::LayoutObject*); 2181 void showLineTree(const blink::LayoutObject*);
2180 void showLayoutTree(const blink::LayoutObject* object1); 2182 void showLayoutTree(const blink::LayoutObject* object1);
2181 // We don't make object2 an optional parameter so that showLayoutTree 2183 // We don't make object2 an optional parameter so that showLayoutTree
2182 // can be called from gdb easily. 2184 // can be called from gdb easily.
2183 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2185 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2184 2186
2185 #endif 2187 #endif
2186 2188
2187 #endif // LayoutObject_h 2189 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698