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

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

Issue 2911583002: Generate enum/getters/setters/mappings for text-security. (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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // CSS3 Flexbox Properties 166 // CSS3 Flexbox Properties
167 167
168 enum EFlexDirection { 168 enum EFlexDirection {
169 kFlowRow, 169 kFlowRow,
170 kFlowRowReverse, 170 kFlowRowReverse,
171 kFlowColumn, 171 kFlowColumn,
172 kFlowColumnReverse 172 kFlowColumnReverse
173 }; 173 };
174 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; 174 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse };
175 175
176 enum class ETextSecurity { kNone, kDisc, kCircle, kSquare };
177
178 // CSS3 User Modify Properties 176 // CSS3 User Modify Properties
179 177
180 enum class EUserModify { kReadOnly, kReadWrite, kReadWritePlaintextOnly }; 178 enum class EUserModify { kReadOnly, kReadWrite, kReadWritePlaintextOnly };
181 179
182 // CSS3 User Drag Values 180 // CSS3 User Drag Values
183 181
184 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; 182 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT };
185 183
186 // CSS3 User Select Values 184 // CSS3 User Select Values
187 185
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 // fraction, which leaves 20 bits for the integer part, making 1048575 449 // fraction, which leaves 20 bits for the integer part, making 1048575
452 // the largest number. 450 // the largest number.
453 451
454 static const int kBorderWidthFractionalBits = 6; 452 static const int kBorderWidthFractionalBits = 6;
455 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; 453 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits;
456 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; 454 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator;
457 455
458 } // namespace blink 456 } // namespace blink
459 457
460 #endif // ComputedStyleConstants_h 458 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698