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

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

Issue 2280153002: Refactoring out the code in LayoutTreeAsText::writeLayoutObject. (Closed)
Patch Set: Rebase 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 mutable LayoutUnit m_intrinsicContentLogicalHeight; 1109 mutable LayoutUnit m_intrinsicContentLogicalHeight;
1110 1110
1111 void inflateVisualRectForReflectionAndFilter(LayoutRect&) const; 1111 void inflateVisualRectForReflectionAndFilter(LayoutRect&) const;
1112 void inflateVisualRectForReflectionAndFilterUnderContainer(LayoutRect&, cons t LayoutObject& container, const LayoutBoxModelObject* ancestorToStopAt) const; 1112 void inflateVisualRectForReflectionAndFilterUnderContainer(LayoutRect&, cons t LayoutObject& container, const LayoutBoxModelObject* ancestorToStopAt) const;
1113 1113
1114 LayoutRectOutsets m_marginBoxOutsets; 1114 LayoutRectOutsets m_marginBoxOutsets;
1115 1115
1116 void addSnapArea(const LayoutBox&); 1116 void addSnapArea(const LayoutBox&);
1117 void removeSnapArea(const LayoutBox&); 1117 void removeSnapArea(const LayoutBox&);
1118 1118
1119 LayoutRect debugRect() const override;
1120
1119 protected: 1121 protected:
1120 // The logical width of the element if it were to break its lines at every 1122 // The logical width of the element if it were to break its lines at every
1121 // possible opportunity. 1123 // possible opportunity.
1122 // 1124 //
1123 // See LayoutObject::minPreferredLogicalWidth() for more details. 1125 // See LayoutObject::minPreferredLogicalWidth() for more details.
1124 LayoutUnit m_minPreferredLogicalWidth; 1126 LayoutUnit m_minPreferredLogicalWidth;
1125 1127
1126 // The logical width of the element if it never breaks any lines at all. 1128 // The logical width of the element if it never breaks any lines at all.
1127 // 1129 //
1128 // See LayoutObject::maxPreferredLogicalWidth() for more details. 1130 // See LayoutObject::maxPreferredLogicalWidth() for more details.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 || breakValue == BreakLeft 1219 || breakValue == BreakLeft
1218 || breakValue == BreakPage 1220 || breakValue == BreakPage
1219 || breakValue == BreakRecto 1221 || breakValue == BreakRecto
1220 || breakValue == BreakRight 1222 || breakValue == BreakRight
1221 || breakValue == BreakVerso; 1223 || breakValue == BreakVerso;
1222 } 1224 }
1223 1225
1224 } // namespace blink 1226 } // namespace blink
1225 1227
1226 #endif // LayoutBox_h 1228 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698