| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 kSub, | 111 kSub, |
| 112 kSuper, | 112 kSuper, |
| 113 kTextTop, | 113 kTextTop, |
| 114 kTextBottom, | 114 kTextBottom, |
| 115 kTop, | 115 kTop, |
| 116 kBottom, | 116 kBottom, |
| 117 kBaselineMiddle, | 117 kBaselineMiddle, |
| 118 kLength | 118 kLength |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 enum TextCombine { kTextCombineNone, kTextCombineAll }; | 121 enum class TextCombine { kNone, kAll }; |
| 122 | 122 |
| 123 enum EFillAttachment { | 123 enum EFillAttachment { |
| 124 kScrollBackgroundAttachment, | 124 kScrollBackgroundAttachment, |
| 125 kLocalBackgroundAttachment, | 125 kLocalBackgroundAttachment, |
| 126 kFixedBackgroundAttachment | 126 kFixedBackgroundAttachment |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 enum EFillBox { | 129 enum EFillBox { |
| 130 kBorderFillBox, | 130 kBorderFillBox, |
| 131 kPaddingFillBox, | 131 kPaddingFillBox, |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 // fraction, which leaves 20 bits for the integer part, making 1048575 | 424 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 425 // the largest number. | 425 // the largest number. |
| 426 | 426 |
| 427 static const int kBorderWidthFractionalBits = 6; | 427 static const int kBorderWidthFractionalBits = 6; |
| 428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 430 | 430 |
| 431 } // namespace blink | 431 } // namespace blink |
| 432 | 432 |
| 433 #endif // ComputedStyleConstants_h | 433 #endif // ComputedStyleConstants_h |
| OLD | NEW |