| 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 kDot, | 285 kDot, |
| 286 kCircle, | 286 kCircle, |
| 287 kDoubleCircle, | 287 kDoubleCircle, |
| 288 kTriangle, | 288 kTriangle, |
| 289 kSesame, | 289 kSesame, |
| 290 kCustom | 290 kCustom |
| 291 }; | 291 }; |
| 292 | 292 |
| 293 enum class TextEmphasisPosition { kOver, kUnder }; | 293 enum class TextEmphasisPosition { kOver, kUnder }; |
| 294 | 294 |
| 295 enum TextOrientation { | 295 enum class TextOrientation { kMixed, kUpright, kSideways }; |
| 296 kTextOrientationMixed, | |
| 297 kTextOrientationUpright, | |
| 298 kTextOrientationSideways | |
| 299 }; | |
| 300 | 296 |
| 301 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 297 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
| 302 | 298 |
| 303 enum class EImageRendering { | 299 enum class EImageRendering { |
| 304 kAuto, | 300 kAuto, |
| 305 kOptimizeSpeed, | 301 kOptimizeSpeed, |
| 306 kOptimizeQuality, | 302 kOptimizeQuality, |
| 307 kOptimizeContrast, | 303 kOptimizeContrast, |
| 308 kPixelated | 304 kPixelated |
| 309 }; | 305 }; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 // fraction, which leaves 20 bits for the integer part, making 1048575 | 430 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 435 // the largest number. | 431 // the largest number. |
| 436 | 432 |
| 437 static const int kBorderWidthFractionalBits = 6; | 433 static const int kBorderWidthFractionalBits = 6; |
| 438 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 434 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 439 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 435 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 440 | 436 |
| 441 } // namespace blink | 437 } // namespace blink |
| 442 | 438 |
| 443 #endif // ComputedStyleConstants_h | 439 #endif // ComputedStyleConstants_h |
| OLD | NEW |