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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 kNone, | 267 kNone, |
268 kAuto, | 268 kAuto, |
269 kDot, | 269 kDot, |
270 kCircle, | 270 kCircle, |
271 kDoubleCircle, | 271 kDoubleCircle, |
272 kTriangle, | 272 kTriangle, |
273 kSesame, | 273 kSesame, |
274 kCustom | 274 kCustom |
275 }; | 275 }; |
276 | 276 |
277 enum class TextOrientation { kMixed, kUpright, kSideways }; | |
278 | |
279 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 277 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
280 | 278 |
281 enum class EImageRendering { | 279 enum class EImageRendering { |
282 kAuto, | 280 kAuto, |
283 kOptimizeSpeed, | 281 kOptimizeSpeed, |
284 kOptimizeQuality, | 282 kOptimizeQuality, |
285 kOptimizeContrast, | 283 kOptimizeContrast, |
286 kPixelated | 284 kPixelated |
287 }; | 285 }; |
288 | 286 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 // fraction, which leaves 20 bits for the integer part, making 1048575 | 415 // fraction, which leaves 20 bits for the integer part, making 1048575 |
418 // the largest number. | 416 // the largest number. |
419 | 417 |
420 static const int kBorderWidthFractionalBits = 6; | 418 static const int kBorderWidthFractionalBits = 6; |
421 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 419 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
422 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 420 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
423 | 421 |
424 } // namespace blink | 422 } // namespace blink |
425 | 423 |
426 #endif // ComputedStyleConstants_h | 424 #endif // ComputedStyleConstants_h |
OLD | NEW |