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

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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Don't export NGBoxStrut for now Created 3 years, 9 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698