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

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

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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
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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef FlexibleBoxAlgorithm_h 31 #ifndef FlexibleBoxAlgorithm_h
32 #define FlexibleBoxAlgorithm_h 32 #define FlexibleBoxAlgorithm_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/layout/OrderIterator.h" 35 #include "core/layout/OrderIterator.h"
36 #include "core/style/ComputedStyle.h" 36 #include "core/style/ComputedStyle.h"
37 #include "platform/LayoutUnit.h" 37 #include "platform/LayoutUnit.h"
38 #include "wtf/Noncopyable.h" 38 #include "platform/wtf/Noncopyable.h"
39 #include "wtf/Vector.h" 39 #include "platform/wtf/Vector.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class LayoutBox; 43 class LayoutBox;
44 44
45 class FlexItem { 45 class FlexItem {
46 public: 46 public:
47 FlexItem(LayoutBox*, 47 FlexItem(LayoutBox*,
48 LayoutUnit flex_base_content_size, 48 LayoutUnit flex_base_content_size,
49 LayoutUnit hypothetical_main_content_size, 49 LayoutUnit hypothetical_main_content_size,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool IsMultiline() const { return style_->FlexWrap() != kFlexNoWrap; } 96 bool IsMultiline() const { return style_->FlexWrap() != kFlexNoWrap; }
97 97
98 const ComputedStyle* style_; 98 const ComputedStyle* style_;
99 LayoutUnit line_break_length_; 99 LayoutUnit line_break_length_;
100 const Vector<FlexItem>& all_items_; 100 const Vector<FlexItem>& all_items_;
101 }; 101 };
102 102
103 } // namespace blink 103 } // namespace blink
104 104
105 #endif // FlexibleBoxAlgorithm_h 105 #endif // FlexibleBoxAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698