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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 }; | 310 }; |
311 | 311 |
312 enum TextOrientation { | 312 enum TextOrientation { |
313 kTextOrientationMixed, | 313 kTextOrientationMixed, |
314 kTextOrientationUpright, | 314 kTextOrientationUpright, |
315 kTextOrientationSideways | 315 kTextOrientationSideways |
316 }; | 316 }; |
317 | 317 |
318 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 318 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
319 | 319 |
320 enum EImageRendering { | 320 enum class EImageRendering { |
321 kImageRenderingAuto, | 321 kAuto, |
322 kImageRenderingOptimizeSpeed, | 322 kOptimizeSpeed, |
323 kImageRenderingOptimizeQuality, | 323 kOptimizeQuality, |
324 kImageRenderingOptimizeContrast, | 324 kOptimizeContrast, |
325 kImageRenderingPixelated | 325 kPixelated |
326 }; | 326 }; |
327 | 327 |
328 enum RubyPosition { kRubyPositionBefore, kRubyPositionAfter }; | 328 enum RubyPosition { kRubyPositionBefore, kRubyPositionAfter }; |
329 | 329 |
330 static const size_t kGridAutoFlowBits = 4; | 330 static const size_t kGridAutoFlowBits = 4; |
331 enum InternalGridAutoFlowAlgorithm { | 331 enum InternalGridAutoFlowAlgorithm { |
332 kInternalAutoFlowAlgorithmSparse = 0x1, | 332 kInternalAutoFlowAlgorithmSparse = 0x1, |
333 kInternalAutoFlowAlgorithmDense = 0x2 | 333 kInternalAutoFlowAlgorithmDense = 0x2 |
334 }; | 334 }; |
335 | 335 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 // fraction, which leaves 20 bits for the integer part, making 1048575 | 451 // fraction, which leaves 20 bits for the integer part, making 1048575 |
452 // the largest number. | 452 // the largest number. |
453 | 453 |
454 static const int kBorderWidthFractionalBits = 6; | 454 static const int kBorderWidthFractionalBits = 6; |
455 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 455 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
456 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 456 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
457 | 457 |
458 } // namespace blink | 458 } // namespace blink |
459 | 459 |
460 #endif // ComputedStyleConstants_h | 460 #endif // ComputedStyleConstants_h |
OLD | NEW |