| 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 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 285 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
| 286 | 286 |
| 287 enum class EImageRendering { | 287 enum class EImageRendering { |
| 288 kAuto, | 288 kAuto, |
| 289 kOptimizeSpeed, | 289 kOptimizeSpeed, |
| 290 kOptimizeQuality, | 290 kOptimizeQuality, |
| 291 kOptimizeContrast, | 291 kOptimizeContrast, |
| 292 kPixelated | 292 kPixelated |
| 293 }; | 293 }; |
| 294 | 294 |
| 295 enum class RubyPosition { kBefore, kAfter }; | |
| 296 | |
| 297 static const size_t kGridAutoFlowBits = 4; | 295 static const size_t kGridAutoFlowBits = 4; |
| 298 enum InternalGridAutoFlowAlgorithm { | 296 enum InternalGridAutoFlowAlgorithm { |
| 299 kInternalAutoFlowAlgorithmSparse = 0x1, | 297 kInternalAutoFlowAlgorithmSparse = 0x1, |
| 300 kInternalAutoFlowAlgorithmDense = 0x2 | 298 kInternalAutoFlowAlgorithmDense = 0x2 |
| 301 }; | 299 }; |
| 302 | 300 |
| 303 enum InternalGridAutoFlowDirection { | 301 enum InternalGridAutoFlowDirection { |
| 304 kInternalAutoFlowDirectionRow = 0x4, | 302 kInternalAutoFlowDirectionRow = 0x4, |
| 305 kInternalAutoFlowDirectionColumn = 0x8 | 303 kInternalAutoFlowDirectionColumn = 0x8 |
| 306 }; | 304 }; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 // fraction, which leaves 20 bits for the integer part, making 1048575 | 422 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 425 // the largest number. | 423 // the largest number. |
| 426 | 424 |
| 427 static const int kBorderWidthFractionalBits = 6; | 425 static const int kBorderWidthFractionalBits = 6; |
| 428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 426 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 427 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 430 | 428 |
| 431 } // namespace blink | 429 } // namespace blink |
| 432 | 430 |
| 433 #endif // ComputedStyleConstants_h | 431 #endif // ComputedStyleConstants_h |
| OLD | NEW |