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

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

Issue 2829303002: [css-flexbox] Merge align-content and justify-content handling (Closed)
Patch Set: helper function Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 LayoutUnit MainAxisContentExtentForChildIncludingScrollbar( 129 LayoutUnit MainAxisContentExtentForChildIncludingScrollbar(
130 const LayoutBox& child) const; 130 const LayoutBox& child) const;
131 LayoutUnit CrossAxisExtent() const; 131 LayoutUnit CrossAxisExtent() const;
132 LayoutUnit MainAxisExtent() const; 132 LayoutUnit MainAxisExtent() const;
133 LayoutUnit CrossAxisContentExtent() const; 133 LayoutUnit CrossAxisContentExtent() const;
134 LayoutUnit MainAxisContentExtent(LayoutUnit content_logical_height); 134 LayoutUnit MainAxisContentExtent(LayoutUnit content_logical_height);
135 LayoutUnit ComputeMainAxisExtentForChild(const LayoutBox& child, 135 LayoutUnit ComputeMainAxisExtentForChild(const LayoutBox& child,
136 SizeType, 136 SizeType,
137 const Length& size); 137 const Length& size);
138 TransformedWritingMode GetTransformedWritingMode() const; 138 TransformedWritingMode GetTransformedWritingMode() const;
139 StyleContentAlignmentData ResolvedJustifyContent() const;
140 StyleContentAlignmentData ResolvedAlignContent() const;
139 LayoutUnit FlowAwareBorderStart() const; 141 LayoutUnit FlowAwareBorderStart() const;
140 LayoutUnit FlowAwareBorderEnd() const; 142 LayoutUnit FlowAwareBorderEnd() const;
141 LayoutUnit FlowAwareBorderBefore() const; 143 LayoutUnit FlowAwareBorderBefore() const;
142 LayoutUnit FlowAwareBorderAfter() const; 144 LayoutUnit FlowAwareBorderAfter() const;
143 LayoutUnit FlowAwarePaddingStart() const; 145 LayoutUnit FlowAwarePaddingStart() const;
144 LayoutUnit FlowAwarePaddingEnd() const; 146 LayoutUnit FlowAwarePaddingEnd() const;
145 LayoutUnit FlowAwarePaddingBefore() const; 147 LayoutUnit FlowAwarePaddingBefore() const;
146 LayoutUnit FlowAwarePaddingAfter() const; 148 LayoutUnit FlowAwarePaddingAfter() const;
147 LayoutUnit FlowAwareMarginStartForChild(const LayoutBox& child) const; 149 LayoutUnit FlowAwareMarginStartForChild(const LayoutBox& child) const;
148 LayoutUnit FlowAwareMarginEndForChild(const LayoutBox& child) const; 150 LayoutUnit FlowAwareMarginEndForChild(const LayoutBox& child) const;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // This is SizeIsUnknown outside of layoutBlock() 260 // This is SizeIsUnknown outside of layoutBlock()
259 mutable SizeDefiniteness has_definite_height_; 261 mutable SizeDefiniteness has_definite_height_;
260 bool in_layout_; 262 bool in_layout_;
261 }; 263 };
262 264
263 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, IsFlexibleBox()); 265 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, IsFlexibleBox());
264 266
265 } // namespace blink 267 } // namespace blink
266 268
267 #endif // LayoutFlexibleBox_h 269 #endif // LayoutFlexibleBox_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698