| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 enum EWordBreak { | 225 enum EWordBreak { |
| 226 kNormalWordBreak, | 226 kNormalWordBreak, |
| 227 kBreakAllWordBreak, | 227 kBreakAllWordBreak, |
| 228 kKeepAllWordBreak, | 228 kKeepAllWordBreak, |
| 229 kBreakWordBreak | 229 kBreakWordBreak |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 enum EOverflowWrap { kNormalOverflowWrap, kBreakOverflowWrap }; | 232 enum EOverflowWrap { kNormalOverflowWrap, kBreakOverflowWrap }; |
| 233 | 233 |
| 234 enum LineBreak { | 234 enum class LineBreak { kAuto, kLoose, kNormal, kStrict, kAfterWhiteSpace }; |
| 235 kLineBreakAuto, | |
| 236 kLineBreakLoose, | |
| 237 kLineBreakNormal, | |
| 238 kLineBreakStrict, | |
| 239 kLineBreakAfterWhiteSpace | |
| 240 }; | |
| 241 | 235 |
| 242 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; | 236 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; |
| 243 | 237 |
| 244 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; | 238 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; |
| 245 | 239 |
| 246 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; | 240 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; |
| 247 | 241 |
| 248 static const size_t kTextDecorationBits = 4; | 242 static const size_t kTextDecorationBits = 4; |
| 249 enum class TextDecoration : unsigned { | 243 enum class TextDecoration : unsigned { |
| 250 kNone = 0x0, | 244 kNone = 0x0, |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 // fraction, which leaves 20 bits for the integer part, making 1048575 | 482 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 489 // the largest number. | 483 // the largest number. |
| 490 | 484 |
| 491 static const int kBorderWidthFractionalBits = 6; | 485 static const int kBorderWidthFractionalBits = 6; |
| 492 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 486 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 493 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 487 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 494 | 488 |
| 495 } // namespace blink | 489 } // namespace blink |
| 496 | 490 |
| 497 #endif // ComputedStyleConstants_h | 491 #endif // ComputedStyleConstants_h |
| OLD | NEW |