| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 280 |
| 281 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed }; | 281 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed }; |
| 282 | 282 |
| 283 enum EBackfaceVisibility { | 283 enum EBackfaceVisibility { |
| 284 kBackfaceVisibilityVisible, | 284 kBackfaceVisibilityVisible, |
| 285 kBackfaceVisibilityHidden | 285 kBackfaceVisibilityHidden |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; | 288 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; |
| 289 | 289 |
| 290 enum Hyphens { kHyphensNone, kHyphensManual, kHyphensAuto }; | 290 enum class Hyphens { kNone, kManual, kAuto }; |
| 291 | 291 |
| 292 enum class ESpeak { | 292 enum class ESpeak { |
| 293 kNone, | 293 kNone, |
| 294 kNormal, | 294 kNormal, |
| 295 kSpellOut, | 295 kSpellOut, |
| 296 kDigits, | 296 kDigits, |
| 297 kLiteralPunctuation, | 297 kLiteralPunctuation, |
| 298 kNoPunctuation | 298 kNoPunctuation |
| 299 }; | 299 }; |
| 300 | 300 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 // fraction, which leaves 20 bits for the integer part, making 1048575 | 458 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 459 // the largest number. | 459 // the largest number. |
| 460 | 460 |
| 461 static const int kBorderWidthFractionalBits = 6; | 461 static const int kBorderWidthFractionalBits = 6; |
| 462 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 462 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 463 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 463 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 464 | 464 |
| 465 } // namespace blink | 465 } // namespace blink |
| 466 | 466 |
| 467 #endif // ComputedStyleConstants_h | 467 #endif // ComputedStyleConstants_h |
| OLD | NEW |