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

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

Issue 2345403003: Add background attachment fixed main thread scrolling reason [spv2] (Closed)
Patch Set: Update test that was written for PaintArtifactCompositor's reasons update Created 4 years, 3 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. 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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 void setScrollAnchorDisablingStyleChanged(bool changed) { m_bitfields.setScr ollAnchorDisablingStyleChanged(changed); } 1397 void setScrollAnchorDisablingStyleChanged(bool changed) { m_bitfields.setScr ollAnchorDisablingStyleChanged(changed); }
1398 1398
1399 void clearChildNeedsOverflowRecalcAfterStyleChange() { m_bitfields.setChildN eedsOverflowRecalcAfterStyleChange(false); } 1399 void clearChildNeedsOverflowRecalcAfterStyleChange() { m_bitfields.setChildN eedsOverflowRecalcAfterStyleChange(false); }
1400 1400
1401 bool compositedScrollsWithRespectTo(const LayoutBoxModelObject& paintInvalid ationContainer) const; 1401 bool compositedScrollsWithRespectTo(const LayoutBoxModelObject& paintInvalid ationContainer) const;
1402 IntSize scrollAdjustmentForPaintInvalidation(const LayoutBoxModelObject& pai ntInvalidationContainer) const; 1402 IntSize scrollAdjustmentForPaintInvalidation(const LayoutBoxModelObject& pai ntInvalidationContainer) const;
1403 1403
1404 bool previousBackgroundObscured() const { return m_bitfields.previousBackgro undObscured(); } 1404 bool previousBackgroundObscured() const { return m_bitfields.previousBackgro undObscured(); }
1405 void setPreviousBackgroundObscured(bool b) { m_bitfields.setPreviousBackgrou ndObscured(b); } 1405 void setPreviousBackgroundObscured(bool b) { m_bitfields.setPreviousBackgrou ndObscured(b); }
1406 1406
1407 bool isBackgroundAttachmentFixedObject() const { return m_bitfields.isBackgr oundAttachmentFixedObject(); }
1408
1407 protected: 1409 protected:
1408 enum LayoutObjectType { 1410 enum LayoutObjectType {
1409 LayoutObjectBr, 1411 LayoutObjectBr,
1410 LayoutObjectCanvas, 1412 LayoutObjectCanvas,
1411 LayoutObjectFieldset, 1413 LayoutObjectFieldset,
1412 LayoutObjectCounter, 1414 LayoutObjectCounter,
1413 LayoutObjectDetailsMarker, 1415 LayoutObjectDetailsMarker,
1414 LayoutObjectEmbeddedObject, 1416 LayoutObjectEmbeddedObject,
1415 LayoutObjectFileUploadControl, 1417 LayoutObjectFileUploadControl,
1416 LayoutObjectFrame, 1418 LayoutObjectFrame,
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 void showTree(const blink::LayoutObject*); 2134 void showTree(const blink::LayoutObject*);
2133 void showLineTree(const blink::LayoutObject*); 2135 void showLineTree(const blink::LayoutObject*);
2134 void showLayoutTree(const blink::LayoutObject* object1); 2136 void showLayoutTree(const blink::LayoutObject* object1);
2135 // We don't make object2 an optional parameter so that showLayoutTree 2137 // We don't make object2 an optional parameter so that showLayoutTree
2136 // can be called from gdb easily. 2138 // can be called from gdb easily.
2137 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2139 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2138 2140
2139 #endif 2141 #endif
2140 2142
2141 #endif // LayoutObject_h 2143 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698