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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2845893002: Make EBoxDecorationBreak 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn }; 109 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn };
110 110
111 enum EMarginCollapse { 111 enum EMarginCollapse {
112 kMarginCollapseCollapse, 112 kMarginCollapseCollapse,
113 kMarginCollapseSeparate, 113 kMarginCollapseSeparate,
114 kMarginCollapseDiscard 114 kMarginCollapseDiscard
115 }; 115 };
116 116
117 // Box decoration attributes. Not inherited. 117 // Box decoration attributes. Not inherited.
118 118
119 enum EBoxDecorationBreak { kBoxDecorationBreakSlice, kBoxDecorationBreakClone }; 119 enum class EBoxDecorationBreak { kSlice, kClone };
120 120
121 // Box attributes. Not inherited. 121 // Box attributes. Not inherited.
122 122
123 enum class EBoxSizing : unsigned { kContentBox, kBorderBox }; 123 enum class EBoxSizing : unsigned { kContentBox, kBorderBox };
124 124
125 // Random visual rendering model attributes. Not inherited. 125 // Random visual rendering model attributes. Not inherited.
126 126
127 enum class EVerticalAlign : unsigned { 127 enum class EVerticalAlign : unsigned {
128 kBaseline, 128 kBaseline,
129 kMiddle, 129 kMiddle,
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 kScrollSnapTypeNone, 495 kScrollSnapTypeNone,
496 kScrollSnapTypeMandatory, 496 kScrollSnapTypeMandatory,
497 kScrollSnapTypeProximity 497 kScrollSnapTypeProximity
498 }; 498 };
499 499
500 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit }; 500 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit };
501 501
502 } // namespace blink 502 } // namespace blink
503 503
504 #endif // ComputedStyleConstants_h 504 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698