| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 NGBlockBreakToken_h | 5 #ifndef NGBlockBreakToken_h |
| 6 #define NGBlockBreakToken_h | 6 #define NGBlockBreakToken_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/ng_break_token.h" | 9 #include "core/layout/ng/ng_break_token.h" |
| 10 #include "platform/LayoutUnit.h" | 10 #include "platform/LayoutUnit.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 explicit NGBlockBreakToken(NGLayoutInputNode* node); | 64 explicit NGBlockBreakToken(NGLayoutInputNode* node); |
| 65 | 65 |
| 66 LayoutUnit used_block_size_; | 66 LayoutUnit used_block_size_; |
| 67 Vector<RefPtr<NGBreakToken>> child_break_tokens_; | 67 Vector<RefPtr<NGBreakToken>> child_break_tokens_; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 DEFINE_TYPE_CASTS(NGBlockBreakToken, | 70 DEFINE_TYPE_CASTS(NGBlockBreakToken, |
| 71 NGBreakToken, | 71 NGBreakToken, |
| 72 token, | 72 token, |
| 73 token->Type() == NGBreakToken::kBlockBreakToken, | 73 token->IsBlockType(), |
| 74 token.Type() == NGBreakToken::kBlockBreakToken); | 74 token.IsBlockType()); |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // NGBlockBreakToken_h | 78 #endif // NGBlockBreakToken_h |
| OLD | NEW |