OLD | NEW |
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 kNone, | 285 kNone, |
286 kNormal, | 286 kNormal, |
287 kSpellOut, | 287 kSpellOut, |
288 kDigits, | 288 kDigits, |
289 kLiteralPunctuation, | 289 kLiteralPunctuation, |
290 kNoPunctuation | 290 kNoPunctuation |
291 }; | 291 }; |
292 | 292 |
293 enum class TextEmphasisFill { kFilled, kOpen }; | 293 enum class TextEmphasisFill { kFilled, kOpen }; |
294 | 294 |
295 enum TextEmphasisMark { | 295 enum class TextEmphasisMark { |
296 kTextEmphasisMarkNone, | 296 kNone, |
297 kTextEmphasisMarkAuto, | 297 kAuto, |
298 kTextEmphasisMarkDot, | 298 kDot, |
299 kTextEmphasisMarkCircle, | 299 kCircle, |
300 kTextEmphasisMarkDoubleCircle, | 300 kDoubleCircle, |
301 kTextEmphasisMarkTriangle, | 301 kTriangle, |
302 kTextEmphasisMarkSesame, | 302 kSesame, |
303 kTextEmphasisMarkCustom | 303 kCustom |
304 }; | 304 }; |
305 | 305 |
306 enum class TextEmphasisPosition { kOver, kUnder }; | 306 enum class TextEmphasisPosition { kOver, kUnder }; |
307 | 307 |
308 enum TextOrientation { | 308 enum TextOrientation { |
309 kTextOrientationMixed, | 309 kTextOrientationMixed, |
310 kTextOrientationUpright, | 310 kTextOrientationUpright, |
311 kTextOrientationSideways | 311 kTextOrientationSideways |
312 }; | 312 }; |
313 | 313 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 // fraction, which leaves 20 bits for the integer part, making 1048575 | 447 // fraction, which leaves 20 bits for the integer part, making 1048575 |
448 // the largest number. | 448 // the largest number. |
449 | 449 |
450 static const int kBorderWidthFractionalBits = 6; | 450 static const int kBorderWidthFractionalBits = 6; |
451 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 451 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
452 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 452 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
453 | 453 |
454 } // namespace blink | 454 } // namespace blink |
455 | 455 |
456 #endif // ComputedStyleConstants_h | 456 #endif // ComputedStyleConstants_h |
OLD | NEW |