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

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

Issue 1110653003: [Reland] Correct fixed-position recording for Slimming Paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
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 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); 1054 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection();
1055 } 1055 }
1056 1056
1057 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h asColumns() && !hasTransformRelatedProperty() && !hasReflection() && !style()->i sFlippedBlocksWritingMode(); } 1057 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h asColumns() && !hasTransformRelatedProperty() && !hasReflection() && !style()->i sFlippedBlocksWritingMode(); }
1058 1058
1059 virtual LayoutRect viewRect() const; 1059 virtual LayoutRect viewRect() const;
1060 1060
1061 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi s); } 1061 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi s); }
1062 1062
1063 void invalidateDisplayItemClient(const DisplayItemClientWrapper&) const; 1063 void invalidateDisplayItemClient(const DisplayItemClientWrapper&) const;
1064 void invalidateDisplayItemClientForNonCompositingDescendants() const;
1064 1065
1065 protected: 1066 protected:
1066 enum LayoutObjectType { 1067 enum LayoutObjectType {
1067 LayoutObjectBr, 1068 LayoutObjectBr,
1068 LayoutObjectCanvas, 1069 LayoutObjectCanvas,
1069 LayoutObjectFieldset, 1070 LayoutObjectFieldset,
1070 LayoutObjectCounter, 1071 LayoutObjectCounter,
1071 LayoutObjectDetailsMarker, 1072 LayoutObjectDetailsMarker,
1072 LayoutObjectEmbeddedObject, 1073 LayoutObjectEmbeddedObject,
1073 LayoutObjectFileUploadControl, 1074 LayoutObjectFileUploadControl,
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 void showTree(const blink::LayoutObject*); 1650 void showTree(const blink::LayoutObject*);
1650 void showLineTree(const blink::LayoutObject*); 1651 void showLineTree(const blink::LayoutObject*);
1651 void showLayoutTree(const blink::LayoutObject* object1); 1652 void showLayoutTree(const blink::LayoutObject* object1);
1652 // We don't make object2 an optional parameter so that showLayoutTree 1653 // We don't make object2 an optional parameter so that showLayoutTree
1653 // can be called from gdb easily. 1654 // can be called from gdb easily.
1654 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1655 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1655 1656
1656 #endif 1657 #endif
1657 1658
1658 #endif // LayoutObject_h 1659 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698