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

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

Issue 2908933002: Make PageSizeType an enum class. (Closed)
Patch Set: Created 3 years, 7 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/StyleRareNonInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
index 83dd3047ec2ed4fbfb4935ea6e4758855c66ab0a..96f530956540dbf2acc47c9d6a1e12b611c0a9dc 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
@@ -66,12 +66,12 @@ class StyleWillChangeData;
// Page size type.
// StyleRareNonInheritedData::page_size_ is meaningful only when
-// StyleRareNonInheritedData::page_size_type_ is PAGE_SIZE_RESOLVED.
-enum PageSizeType {
- PAGE_SIZE_AUTO, // size: auto
- PAGE_SIZE_AUTO_LANDSCAPE, // size: landscape
- PAGE_SIZE_AUTO_PORTRAIT, // size: portrait
- PAGE_SIZE_RESOLVED // Size is fully resolved.
+// StyleRareNonInheritedData::page_size_type_ is kResolved.
+enum class PageSizeType {
+ kAuto, // size: auto
+ kLandscape, // size: landscape
+ kPortrait, // size: portrait
+ kResolved // Size is fully resolved.
};
// This struct is for rarely used non-inherited CSS3, CSS2, and WebKit-specific

Powered by Google App Engine
This is Rietveld 408576698