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

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

Issue 2882103002: Make ELineBreak an enum class. (Closed)
Patch Set: Rebase 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/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index 0a825a3c908de63639cb9b1d43d06ed2bedc2b3b..8923030d68e32968556fb1c00c8d5bab1e8b0ffc 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -231,13 +231,7 @@ enum EWordBreak {
enum EOverflowWrap { kNormalOverflowWrap, kBreakOverflowWrap };
-enum LineBreak {
- kLineBreakAuto,
- kLineBreakLoose,
- kLineBreakNormal,
- kLineBreakStrict,
- kLineBreakAfterWhiteSpace
-};
+enum class LineBreak { kAuto, kLoose, kNormal, kStrict, kAfterWhiteSpace };
enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL };

Powered by Google App Engine
This is Rietveld 408576698