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

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

Issue 2882113002: Make ESpeak 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 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 enum EBackfaceVisibility { 313 enum EBackfaceVisibility {
314 kBackfaceVisibilityVisible, 314 kBackfaceVisibilityVisible,
315 kBackfaceVisibilityHidden 315 kBackfaceVisibilityHidden
316 }; 316 };
317 317
318 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; 318 enum ELineClampType { kLineClampLineCount, kLineClampPercentage };
319 319
320 enum Hyphens { kHyphensNone, kHyphensManual, kHyphensAuto }; 320 enum Hyphens { kHyphensNone, kHyphensManual, kHyphensAuto };
321 321
322 enum ESpeak { 322 enum class ESpeak {
323 kSpeakNone, 323 kNone,
324 kSpeakNormal, 324 kNormal,
325 kSpeakSpellOut, 325 kSpellOut,
326 kSpeakDigits, 326 kDigits,
327 kSpeakLiteralPunctuation, 327 kLiteralPunctuation,
328 kSpeakNoPunctuation 328 kNoPunctuation
329 }; 329 };
330 330
331 enum TextEmphasisFill { kTextEmphasisFillFilled, kTextEmphasisFillOpen }; 331 enum TextEmphasisFill { kTextEmphasisFillFilled, kTextEmphasisFillOpen };
332 332
333 enum TextEmphasisMark { 333 enum TextEmphasisMark {
334 kTextEmphasisMarkNone, 334 kTextEmphasisMarkNone,
335 kTextEmphasisMarkAuto, 335 kTextEmphasisMarkAuto,
336 kTextEmphasisMarkDot, 336 kTextEmphasisMarkDot,
337 kTextEmphasisMarkCircle, 337 kTextEmphasisMarkCircle,
338 kTextEmphasisMarkDoubleCircle, 338 kTextEmphasisMarkDoubleCircle,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // fraction, which leaves 20 bits for the integer part, making 1048575 488 // fraction, which leaves 20 bits for the integer part, making 1048575
489 // the largest number. 489 // the largest number.
490 490
491 static const int kBorderWidthFractionalBits = 6; 491 static const int kBorderWidthFractionalBits = 6;
492 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; 492 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits;
493 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; 493 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator;
494 494
495 } // namespace blink 495 } // namespace blink
496 496
497 #endif // ComputedStyleConstants_h 497 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698