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

Side by Side Diff: sky/engine/core/rendering/RenderFlexibleBox.h

Issue 688213002: First pass at removing dead vertical writing mode code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 LayoutUnit crossAxisExtentForChild(RenderBox* child) const; 91 LayoutUnit crossAxisExtentForChild(RenderBox* child) const;
92 LayoutUnit crossAxisIntrinsicExtentForChild(RenderBox* child) const; 92 LayoutUnit crossAxisIntrinsicExtentForChild(RenderBox* child) const;
93 LayoutUnit childIntrinsicHeight(RenderBox* child) const; 93 LayoutUnit childIntrinsicHeight(RenderBox* child) const;
94 LayoutUnit childIntrinsicWidth(RenderBox* child) const; 94 LayoutUnit childIntrinsicWidth(RenderBox* child) const;
95 LayoutUnit mainAxisExtentForChild(RenderBox* child) const; 95 LayoutUnit mainAxisExtentForChild(RenderBox* child) const;
96 LayoutUnit crossAxisExtent() const; 96 LayoutUnit crossAxisExtent() const;
97 LayoutUnit mainAxisExtent() const; 97 LayoutUnit mainAxisExtent() const;
98 LayoutUnit crossAxisContentExtent() const; 98 LayoutUnit crossAxisContentExtent() const;
99 LayoutUnit mainAxisContentExtent(LayoutUnit contentLogicalHeight); 99 LayoutUnit mainAxisContentExtent(LayoutUnit contentLogicalHeight);
100 LayoutUnit computeMainAxisExtentForChild(RenderBox* child, SizeType, const L ength& size); 100 LayoutUnit computeMainAxisExtentForChild(RenderBox* child, SizeType, const L ength& size);
101 WritingMode transformedWritingMode() const;
102 LayoutUnit flowAwareBorderStart() const; 101 LayoutUnit flowAwareBorderStart() const;
103 LayoutUnit flowAwareBorderEnd() const; 102 LayoutUnit flowAwareBorderEnd() const;
104 LayoutUnit flowAwareBorderBefore() const; 103 LayoutUnit flowAwareBorderBefore() const;
105 LayoutUnit flowAwareBorderAfter() const; 104 LayoutUnit flowAwareBorderAfter() const;
106 LayoutUnit flowAwarePaddingStart() const; 105 LayoutUnit flowAwarePaddingStart() const;
107 LayoutUnit flowAwarePaddingEnd() const; 106 LayoutUnit flowAwarePaddingEnd() const;
108 LayoutUnit flowAwarePaddingBefore() const; 107 LayoutUnit flowAwarePaddingBefore() const;
109 LayoutUnit flowAwarePaddingAfter() const; 108 LayoutUnit flowAwarePaddingAfter() const;
110 LayoutUnit flowAwareMarginStartForChild(RenderBox* child) const; 109 LayoutUnit flowAwareMarginStartForChild(RenderBox* child) const;
111 LayoutUnit flowAwareMarginEndForChild(RenderBox* child) const; 110 LayoutUnit flowAwareMarginEndForChild(RenderBox* child) const;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 161
163 mutable OrderIterator m_orderIterator; 162 mutable OrderIterator m_orderIterator;
164 int m_numberOfInFlowChildrenOnFirstLine; 163 int m_numberOfInFlowChildrenOnFirstLine;
165 }; 164 };
166 165
167 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox()); 166 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox());
168 167
169 } // namespace blink 168 } // namespace blink
170 169
171 #endif // RenderFlexibleBox_h 170 #endif // RenderFlexibleBox_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBoxModelObject.cpp ('k') | sky/engine/core/rendering/RenderFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698