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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 kTextEmphasisMarkNone, | 299 kTextEmphasisMarkNone, |
300 kTextEmphasisMarkAuto, | 300 kTextEmphasisMarkAuto, |
301 kTextEmphasisMarkDot, | 301 kTextEmphasisMarkDot, |
302 kTextEmphasisMarkCircle, | 302 kTextEmphasisMarkCircle, |
303 kTextEmphasisMarkDoubleCircle, | 303 kTextEmphasisMarkDoubleCircle, |
304 kTextEmphasisMarkTriangle, | 304 kTextEmphasisMarkTriangle, |
305 kTextEmphasisMarkSesame, | 305 kTextEmphasisMarkSesame, |
306 kTextEmphasisMarkCustom | 306 kTextEmphasisMarkCustom |
307 }; | 307 }; |
308 | 308 |
309 enum TextEmphasisPosition { | 309 enum class TextEmphasisPosition { kOver, kUnder }; |
310 kTextEmphasisPositionOver, | |
311 kTextEmphasisPositionUnder | |
312 }; | |
313 | 310 |
314 enum TextOrientation { | 311 enum TextOrientation { |
315 kTextOrientationMixed, | 312 kTextOrientationMixed, |
316 kTextOrientationUpright, | 313 kTextOrientationUpright, |
317 kTextOrientationSideways | 314 kTextOrientationSideways |
318 }; | 315 }; |
319 | 316 |
320 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 317 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
321 | 318 |
322 enum EImageRendering { | 319 enum EImageRendering { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 // fraction, which leaves 20 bits for the integer part, making 1048575 | 450 // fraction, which leaves 20 bits for the integer part, making 1048575 |
454 // the largest number. | 451 // the largest number. |
455 | 452 |
456 static const int kBorderWidthFractionalBits = 6; | 453 static const int kBorderWidthFractionalBits = 6; |
457 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 454 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
458 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 455 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
459 | 456 |
460 } // namespace blink | 457 } // namespace blink |
461 | 458 |
462 #endif // ComputedStyleConstants_h | 459 #endif // ComputedStyleConstants_h |
OLD | NEW |