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

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

Issue 2350803002: [css-flexbox] Fix size comparison when scrollbars are present (Closed)
Patch Set: 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) 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool hasOrthogonalFlow(const LayoutBox& child) const; 113 bool hasOrthogonalFlow(const LayoutBox& child) const;
114 bool isColumnFlow() const; 114 bool isColumnFlow() const;
115 bool isLeftToRightFlow() const; 115 bool isLeftToRightFlow() const;
116 bool isMultiline() const; 116 bool isMultiline() const;
117 Length flexBasisForChild(const LayoutBox& child) const; 117 Length flexBasisForChild(const LayoutBox& child) const;
118 LayoutUnit crossAxisExtentForChild(const LayoutBox& child) const; 118 LayoutUnit crossAxisExtentForChild(const LayoutBox& child) const;
119 LayoutUnit crossAxisIntrinsicExtentForChild(const LayoutBox& child) const; 119 LayoutUnit crossAxisIntrinsicExtentForChild(const LayoutBox& child) const;
120 LayoutUnit childIntrinsicLogicalHeight(const LayoutBox& child) const; 120 LayoutUnit childIntrinsicLogicalHeight(const LayoutBox& child) const;
121 LayoutUnit childIntrinsicLogicalWidth(const LayoutBox& child) const; 121 LayoutUnit childIntrinsicLogicalWidth(const LayoutBox& child) const;
122 LayoutUnit mainAxisExtentForChild(const LayoutBox& child) const; 122 LayoutUnit mainAxisExtentForChild(const LayoutBox& child) const;
123 LayoutUnit mainAxisContentExtentForChild(const LayoutBox& child) const; 123 LayoutUnit mainAxisContentExtentForChildIncludingScrollbar(const LayoutBox& child) const;
124 LayoutUnit crossAxisExtent() const; 124 LayoutUnit crossAxisExtent() const;
125 LayoutUnit mainAxisExtent() const; 125 LayoutUnit mainAxisExtent() const;
126 LayoutUnit crossAxisContentExtent() const; 126 LayoutUnit crossAxisContentExtent() const;
127 LayoutUnit mainAxisContentExtent(LayoutUnit contentLogicalHeight); 127 LayoutUnit mainAxisContentExtent(LayoutUnit contentLogicalHeight);
128 LayoutUnit computeMainAxisExtentForChild(const LayoutBox& child, SizeType, c onst Length& size); 128 LayoutUnit computeMainAxisExtentForChild(const LayoutBox& child, SizeType, c onst Length& size);
129 TransformedWritingMode getTransformedWritingMode() const; 129 TransformedWritingMode getTransformedWritingMode() const;
130 LayoutUnit flowAwareBorderStart() const; 130 LayoutUnit flowAwareBorderStart() const;
131 LayoutUnit flowAwareBorderEnd() const; 131 LayoutUnit flowAwareBorderEnd() const;
132 LayoutUnit flowAwareBorderBefore() const; 132 LayoutUnit flowAwareBorderBefore() const;
133 LayoutUnit flowAwareBorderAfter() const; 133 LayoutUnit flowAwareBorderAfter() const;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 // This is SizeIsUnknown outside of layoutBlock() 209 // This is SizeIsUnknown outside of layoutBlock()
210 mutable SizeDefiniteness m_hasDefiniteHeight; 210 mutable SizeDefiniteness m_hasDefiniteHeight;
211 }; 211 };
212 212
213 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); 213 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox());
214 214
215 } // namespace blink 215 } // namespace blink
216 216
217 #endif // LayoutFlexibleBox_h 217 #endif // LayoutFlexibleBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698