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

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

Issue 2896723003: Generate enum/getters/setters/mappings for speak. (Closed)
Patch Set: Rebase Created 3 years, 6 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 enum EBackfaceVisibility { 278 enum EBackfaceVisibility {
279 kBackfaceVisibilityVisible, 279 kBackfaceVisibilityVisible,
280 kBackfaceVisibilityHidden 280 kBackfaceVisibilityHidden
281 }; 281 };
282 282
283 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; 283 enum ELineClampType { kLineClampLineCount, kLineClampPercentage };
284 284
285 enum class Hyphens { kNone, kManual, kAuto }; 285 enum class Hyphens { kNone, kManual, kAuto };
286 286
287 enum class ESpeak {
288 kNone,
289 kNormal,
290 kSpellOut,
291 kDigits,
292 kLiteralPunctuation,
293 kNoPunctuation
294 };
295
296 enum class TextEmphasisFill { kFilled, kOpen }; 287 enum class TextEmphasisFill { kFilled, kOpen };
297 288
298 enum TextEmphasisMark { 289 enum TextEmphasisMark {
299 kTextEmphasisMarkNone, 290 kTextEmphasisMarkNone,
300 kTextEmphasisMarkAuto, 291 kTextEmphasisMarkAuto,
301 kTextEmphasisMarkDot, 292 kTextEmphasisMarkDot,
302 kTextEmphasisMarkCircle, 293 kTextEmphasisMarkCircle,
303 kTextEmphasisMarkDoubleCircle, 294 kTextEmphasisMarkDoubleCircle,
304 kTextEmphasisMarkTriangle, 295 kTextEmphasisMarkTriangle,
305 kTextEmphasisMarkSesame, 296 kTextEmphasisMarkSesame,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // fraction, which leaves 20 bits for the integer part, making 1048575 444 // fraction, which leaves 20 bits for the integer part, making 1048575
454 // the largest number. 445 // the largest number.
455 446
456 static const int kBorderWidthFractionalBits = 6; 447 static const int kBorderWidthFractionalBits = 6;
457 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; 448 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits;
458 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; 449 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator;
459 450
460 } // namespace blink 451 } // namespace blink
461 452
462 #endif // ComputedStyleConstants_h 453 #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