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

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

Issue 2761673005: Optimize scroll adjustment for paint invalidation
Patch Set: - Created 3 years, 9 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
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. 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 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1840 void setScrollAnchorDisablingStyleChanged(bool changed) { 1840 void setScrollAnchorDisablingStyleChanged(bool changed) {
1841 m_bitfields.setScrollAnchorDisablingStyleChanged(changed); 1841 m_bitfields.setScrollAnchorDisablingStyleChanged(changed);
1842 } 1842 }
1843 1843
1844 void clearChildNeedsOverflowRecalcAfterStyleChange() { 1844 void clearChildNeedsOverflowRecalcAfterStyleChange() {
1845 m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false); 1845 m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false);
1846 } 1846 }
1847 1847
1848 bool compositedScrollsWithRespectTo( 1848 bool compositedScrollsWithRespectTo(
1849 const LayoutBoxModelObject& paintInvalidationContainer) const; 1849 const LayoutBoxModelObject& paintInvalidationContainer) const;
1850 IntSize scrollAdjustmentForPaintInvalidation(
1851 const LayoutBoxModelObject& paintInvalidationContainer) const;
1852 1850
1853 bool previousBackgroundObscured() const { 1851 bool previousBackgroundObscured() const {
1854 return m_bitfields.previousBackgroundObscured(); 1852 return m_bitfields.previousBackgroundObscured();
1855 } 1853 }
1856 void setPreviousBackgroundObscured(bool b) { 1854 void setPreviousBackgroundObscured(bool b) {
1857 m_bitfields.setPreviousBackgroundObscured(b); 1855 m_bitfields.setPreviousBackgroundObscured(b);
1858 } 1856 }
1859 1857
1860 bool isBackgroundAttachmentFixedObject() const { 1858 bool isBackgroundAttachmentFixedObject() const {
1861 return m_bitfields.isBackgroundAttachmentFixedObject(); 1859 return m_bitfields.isBackgroundAttachmentFixedObject();
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
2782 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2780 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2783 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2781 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2784 // We don't make object2 an optional parameter so that showLayoutTree 2782 // We don't make object2 an optional parameter so that showLayoutTree
2785 // can be called from gdb easily. 2783 // can be called from gdb easily.
2786 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2784 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2787 const blink::LayoutObject* object2); 2785 const blink::LayoutObject* object2);
2788 2786
2789 #endif 2787 #endif
2790 2788
2791 #endif // LayoutObject_h 2789 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698