[layoutng] Implement min-/max-content part 2.

This adds support to ng_length_utils for min/max/fit-content. It does not yet
change NGBlockLayoutAlgorithm to compute and pass the values to these
functions. However, it does add NeedMinAndMaxContentSizes which the algorithm
can use to determine whether it should compute the sizes (this will be a
performance optimization that I expect to be very important).

R=atotic@chromium.org,eae@chromium.org
BUG=635619

Review-Url: https://codereview.chromium.org/2478263003
Cr-Commit-Position: refs/heads/master@{#430680}
5 files changed