| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 NGWritingMode_h | 5 #ifndef NGWritingMode_h |
| 6 #define NGWritingMode_h | 6 #define NGWritingMode_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "platform/text/WritingMode.h" | 9 #include "platform/text/WritingMode.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 enum NGWritingMode { | 13 enum NGWritingMode { |
| 14 HorizontalTopBottom = 0, | 14 kHorizontalTopBottom = 0, |
| 15 VerticalRightLeft = 1, | 15 kVerticalRightLeft = 1, |
| 16 VerticalLeftRight = 2, | 16 kVerticalLeftRight = 2, |
| 17 SidewaysRightLeft = 3, | 17 kSidewaysRightLeft = 3, |
| 18 SidewaysLeftRight = 4 | 18 kSidewaysLeftRight = 4 |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 CORE_EXPORT NGWritingMode FromPlatformWritingMode(WritingMode); | 21 CORE_EXPORT NGWritingMode FromPlatformWritingMode(WritingMode); |
| 22 | 22 |
| 23 } // namespace blink | 23 } // namespace blink |
| 24 | 24 |
| 25 #endif // NGWritingMode_h | 25 #endif // NGWritingMode_h |
| OLD | NEW |