| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef StyleContentAlignmentData_h | 5 #ifndef StyleContentAlignmentData_h |
| 6 #define StyleContentAlignmentData_h | 6 #define StyleContentAlignmentData_h |
| 7 | 7 |
| 8 #include "core/style/ComputedStyleConstants.h" | 8 #include "core/style/ComputedStyleConstants.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class StyleContentAlignmentData { | 13 class StyleContentAlignmentData { |
| 14 DISALLOW_NEW(); | 14 DISALLOW_NEW(); |
| 15 | 15 |
| 16 public: | 16 public: |
| 17 // Style data for Content-Distribution properties: align-content, | 17 // Style data for Content-Distribution properties: align-content, |
| 18 // justify-content. | 18 // justify-content. |
| 19 // <content-distribution> || [ <overflow-position>? && <content-position> ] | 19 // <content-distribution> || [ <overflow-position>? && <content-position> ] |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 unsigned position_ : 4; // ContentPosition | 52 unsigned position_ : 4; // ContentPosition |
| 53 unsigned distribution_ : 3; // ContentDistributionType | 53 unsigned distribution_ : 3; // ContentDistributionType |
| 54 unsigned overflow_ : 2; // OverflowAlignment | 54 unsigned overflow_ : 2; // OverflowAlignment |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // StyleContentAlignmentData_h | 59 #endif // StyleContentAlignmentData_h |
| OLD | NEW |