| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 kDot, | 259 kDot, |
| 260 kCircle, | 260 kCircle, |
| 261 kDoubleCircle, | 261 kDoubleCircle, |
| 262 kTriangle, | 262 kTriangle, |
| 263 kSesame, | 263 kSesame, |
| 264 kCustom | 264 kCustom |
| 265 }; | 265 }; |
| 266 | 266 |
| 267 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 267 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
| 268 | 268 |
| 269 enum class EImageRendering { | |
| 270 kAuto, | |
| 271 kOptimizeSpeed, | |
| 272 kOptimizeQuality, | |
| 273 kOptimizeContrast, | |
| 274 kPixelated | |
| 275 }; | |
| 276 | |
| 277 static const size_t kGridAutoFlowBits = 4; | 269 static const size_t kGridAutoFlowBits = 4; |
| 278 enum InternalGridAutoFlowAlgorithm { | 270 enum InternalGridAutoFlowAlgorithm { |
| 279 kInternalAutoFlowAlgorithmSparse = 0x1, | 271 kInternalAutoFlowAlgorithmSparse = 0x1, |
| 280 kInternalAutoFlowAlgorithmDense = 0x2 | 272 kInternalAutoFlowAlgorithmDense = 0x2 |
| 281 }; | 273 }; |
| 282 | 274 |
| 283 enum InternalGridAutoFlowDirection { | 275 enum InternalGridAutoFlowDirection { |
| 284 kInternalAutoFlowDirectionRow = 0x4, | 276 kInternalAutoFlowDirectionRow = 0x4, |
| 285 kInternalAutoFlowDirectionColumn = 0x8 | 277 kInternalAutoFlowDirectionColumn = 0x8 |
| 286 }; | 278 }; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 // fraction, which leaves 20 bits for the integer part, making 1048575 | 396 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 405 // the largest number. | 397 // the largest number. |
| 406 | 398 |
| 407 static const int kBorderWidthFractionalBits = 6; | 399 static const int kBorderWidthFractionalBits = 6; |
| 408 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 400 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 409 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 401 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 410 | 402 |
| 411 } // namespace blink | 403 } // namespace blink |
| 412 | 404 |
| 413 #endif // ComputedStyleConstants_h | 405 #endif // ComputedStyleConstants_h |
| OLD | NEW |