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

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

Issue 2280153002: Refactoring out the code in LayoutTreeAsText::writeLayoutObject. (Closed)
Patch Set: Rename helper 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 mutable LayoutUnit m_intrinsicContentLogicalHeight; 1108 mutable LayoutUnit m_intrinsicContentLogicalHeight;
1109 1109
1110 void inflateVisualRectForReflectionAndFilter(LayoutRect&) const; 1110 void inflateVisualRectForReflectionAndFilter(LayoutRect&) const;
1111 void inflateVisualRectForReflectionAndFilterUnderContainer(LayoutRect&, cons t LayoutObject& container, const LayoutBoxModelObject* ancestorToStopAt) const; 1111 void inflateVisualRectForReflectionAndFilterUnderContainer(LayoutRect&, cons t LayoutObject& container, const LayoutBoxModelObject* ancestorToStopAt) const;
1112 1112
1113 LayoutRectOutsets m_marginBoxOutsets; 1113 LayoutRectOutsets m_marginBoxOutsets;
1114 1114
1115 void addSnapArea(const LayoutBox&); 1115 void addSnapArea(const LayoutBox&);
1116 void removeSnapArea(const LayoutBox&); 1116 void removeSnapArea(const LayoutBox&);
1117 1117
1118 LayoutRect debugRect() const override;
1119
1118 protected: 1120 protected:
1119 // The logical width of the element if it were to break its lines at every 1121 // The logical width of the element if it were to break its lines at every
1120 // possible opportunity. 1122 // possible opportunity.
1121 // 1123 //
1122 // See LayoutObject::minPreferredLogicalWidth() for more details. 1124 // See LayoutObject::minPreferredLogicalWidth() for more details.
1123 LayoutUnit m_minPreferredLogicalWidth; 1125 LayoutUnit m_minPreferredLogicalWidth;
1124 1126
1125 // The logical width of the element if it never breaks any lines at all. 1127 // The logical width of the element if it never breaks any lines at all.
1126 // 1128 //
1127 // See LayoutObject::maxPreferredLogicalWidth() for more details. 1129 // See LayoutObject::maxPreferredLogicalWidth() for more details.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 || breakValue == BreakLeft 1218 || breakValue == BreakLeft
1217 || breakValue == BreakPage 1219 || breakValue == BreakPage
1218 || breakValue == BreakRecto 1220 || breakValue == BreakRecto
1219 || breakValue == BreakRight 1221 || breakValue == BreakRight
1220 || breakValue == BreakVerso; 1222 || breakValue == BreakVerso;
1221 } 1223 }
1222 1224
1223 } // namespace blink 1225 } // namespace blink
1224 1226
1225 #endif // LayoutBox_h 1227 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698