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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index 72d93543489d40d84d4894e13ea2382bcc632eb3..5b38f35c51ea275403a20dd9dbed546f21f052f6 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -447,15 +447,15 @@ enum ECursor {
};
// The order of this enum must match the order of the display values in CSSValueKeywords.in.
-enum EDisplay {
- INLINE, BLOCK, LIST_ITEM, INLINE_BLOCK,
- TABLE, INLINE_TABLE, TABLE_ROW_GROUP,
- TABLE_HEADER_GROUP, TABLE_FOOTER_GROUP, TABLE_ROW,
- TABLE_COLUMN_GROUP, TABLE_COLUMN, TABLE_CELL,
- TABLE_CAPTION, BOX, INLINE_BOX,
- FLEX, INLINE_FLEX,
- GRID, INLINE_GRID,
- NONE
+enum class EDisplay : unsigned {
+ Inline, Block, ListItem, InlineBlock,
+ Table, InlineTable, TableRowGroup,
+ TableHeaderGroup, TableFooterGroup, TableRow,
+ TableColumnGroup, TableColumn, TableCell,
+ TableCaption, Box, InlineBox,
+ Flex, InlineFlex,
+ Grid, InlineGrid,
+ None
};
enum EInsideLink {
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/svg/SVGGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698