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

Unified Diff: Source/core/layout/LayoutFlexibleBox.h

Issue 1295933003: Add overflow:auto scrollbars to child flex basis. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add entries to SlowTests Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutFlexibleBox.h
diff --git a/Source/core/layout/LayoutFlexibleBox.h b/Source/core/layout/LayoutFlexibleBox.h
index 69338c078e6ce88a5c070939e597dc1278656139..4b29cbf52dfe62d94e4a06dbe9018192f633bea0 100644
--- a/Source/core/layout/LayoutFlexibleBox.h
+++ b/Source/core/layout/LayoutFlexibleBox.h
@@ -96,7 +96,7 @@ private:
bool isColumnFlow() const;
bool isLeftToRightFlow() const;
bool isMultiline() const;
- Length flexBasisForChild(LayoutBox& child) const;
+ Length flexBasisForChild(const LayoutBox& child) const;
LayoutUnit crossAxisExtentForChild(LayoutBox& child) const;
LayoutUnit crossAxisIntrinsicExtentForChild(LayoutBox& child) const;
LayoutUnit childIntrinsicHeight(LayoutBox& child) const;
@@ -132,7 +132,9 @@ private:
bool mainAxisLengthIsDefinite(LayoutBox& child, const Length& flexBasis) const;
bool childFlexBaseSizeRequiresLayout(LayoutBox& child) const;
bool needToStretchChildLogicalHeight(LayoutBox& child) const;
+ bool childHasIntrinsicMainAxisSize(const LayoutBox& child) const;
EOverflow mainAxisOverflowForChild(LayoutBox& child) const;
+ EOverflow crossAxisOverflowForChild(LayoutBox& child) const;
void layoutFlexItems(bool relayoutChildren, SubtreeLayoutScope&);
LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit& availableFreeSpace);
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698