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

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

Issue 1610233002: [Reland] Remove PaintInfo's paintingRoot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 // IntRect can be larger than the integral size. 967 // IntRect can be larger than the integral size.
968 IntRect absoluteBoundingBoxRect() const; 968 IntRect absoluteBoundingBoxRect() const;
969 // FIXME: This function should go away eventually 969 // FIXME: This function should go away eventually
970 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; 970 IntRect absoluteBoundingBoxRectIgnoringTransforms() const;
971 971
972 // Build an array of quads in absolute coords for line boxes 972 // Build an array of quads in absolute coords for line boxes
973 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /* wasFixed */ = nullpt r) const { } 973 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /* wasFixed */ = nullpt r) const { }
974 974
975 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 975 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
976 976
977 // the rect that will be painted if this object is passed as the paintingRoo t 977 // The bounding box (see: absoluteBoundingBoxRect) including all descendant
978 IntRect paintingRootRect(IntRect& topLevelRect); 978 // bounding boxes.
979 IntRect absoluteBoundingBoxRectIncludingDescendants() const;
979 980
980 // This function returns the minimal logical width this object can have 981 // This function returns the minimal logical width this object can have
981 // without overflowing. This means that all the opportunities for wrapping 982 // without overflowing. This means that all the opportunities for wrapping
982 // have been taken. 983 // have been taken.
983 // 984 //
984 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS above. 985 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS above.
985 // 986 //
986 // CSS 2.1 calls this width the "preferred minimum width" (thus this name) 987 // CSS 2.1 calls this width the "preferred minimum width" (thus this name)
987 // and "minimum content width" (for table). 988 // and "minimum content width" (for table).
988 // However CSS 3 calls it the "min-content inline size". 989 // However CSS 3 calls it the "min-content inline size".
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 void showTree(const blink::LayoutObject*); 2104 void showTree(const blink::LayoutObject*);
2104 void showLineTree(const blink::LayoutObject*); 2105 void showLineTree(const blink::LayoutObject*);
2105 void showLayoutTree(const blink::LayoutObject* object1); 2106 void showLayoutTree(const blink::LayoutObject* object1);
2106 // We don't make object2 an optional parameter so that showLayoutTree 2107 // We don't make object2 an optional parameter so that showLayoutTree
2107 // can be called from gdb easily. 2108 // can be called from gdb easily.
2108 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2109 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2109 2110
2110 #endif 2111 #endif
2111 2112
2112 #endif // LayoutObject_h 2113 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.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