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

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

Issue 2536323003: [LayoutNG] Fix enum values to conform to kEnumName in style guide. (Closed)
Patch Set: rebase. Created 4 years 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 // 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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_units_test.cc ('k') | third_party/WebKit/Source/core/layout/ng/ng_writing_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698