| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // CSS3 User Modify Properties | 194 // CSS3 User Modify Properties |
| 195 | 195 |
| 196 enum class EUserModify { kReadOnly, kReadWrite, kReadWritePlaintextOnly }; | 196 enum class EUserModify { kReadOnly, kReadWrite, kReadWritePlaintextOnly }; |
| 197 | 197 |
| 198 // CSS3 User Drag Values | 198 // CSS3 User Drag Values |
| 199 | 199 |
| 200 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; | 200 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; |
| 201 | 201 |
| 202 // CSS3 User Select Values | 202 // CSS3 User Select Values |
| 203 | 203 |
| 204 enum EUserSelect { SELECT_NONE, SELECT_TEXT, SELECT_ALL }; | 204 enum class EUserSelect { kNone, kText, kAll }; |
| 205 | 205 |
| 206 // CSS3 Image Values | 206 // CSS3 Image Values |
| 207 enum ObjectFit { | 207 enum ObjectFit { |
| 208 kObjectFitFill, | 208 kObjectFitFill, |
| 209 kObjectFitContain, | 209 kObjectFitContain, |
| 210 kObjectFitCover, | 210 kObjectFitCover, |
| 211 kObjectFitNone, | 211 kObjectFitNone, |
| 212 kObjectFitScaleDown | 212 kObjectFitScaleDown |
| 213 }; | 213 }; |
| 214 | 214 |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 // fraction, which leaves 20 bits for the integer part, making 1048575 | 474 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 475 // the largest number. | 475 // the largest number. |
| 476 | 476 |
| 477 static const int kBorderWidthFractionalBits = 6; | 477 static const int kBorderWidthFractionalBits = 6; |
| 478 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 478 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 479 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 479 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 480 | 480 |
| 481 } // namespace blink | 481 } // namespace blink |
| 482 | 482 |
| 483 #endif // ComputedStyleConstants_h | 483 #endif // ComputedStyleConstants_h |
| OLD | NEW |