| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MinMaxContentSize_h | |
| 6 #define MinMaxContentSize_h | |
| 7 | |
| 8 #include "core/CoreExport.h" | |
| 9 #include "core/layout/ng/ng_writing_mode.h" | |
| 10 #include "platform/LayoutUnit.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 struct CORE_EXPORT MinMaxContentSize { | |
| 15 LayoutUnit min_content; | |
| 16 LayoutUnit max_content; | |
| 17 LayoutUnit ShrinkToFit(LayoutUnit available_size) const; | |
| 18 bool operator==(const MinMaxContentSize& other) const; | |
| 19 }; | |
| 20 | |
| 21 CORE_EXPORT std::ostream& operator<<(std::ostream&, const MinMaxContentSize&); | |
| 22 | |
| 23 } // namespace blink | |
| 24 | |
| 25 #endif // MinMaxContentSize_h | |
| OLD | NEW |