| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // CSS3 Flexbox Properties | 185 // CSS3 Flexbox Properties |
| 186 | 186 |
| 187 enum EFlexDirection { | 187 enum EFlexDirection { |
| 188 kFlowRow, | 188 kFlowRow, |
| 189 kFlowRowReverse, | 189 kFlowRowReverse, |
| 190 kFlowColumn, | 190 kFlowColumn, |
| 191 kFlowColumnReverse | 191 kFlowColumnReverse |
| 192 }; | 192 }; |
| 193 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; | 193 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; |
| 194 | 194 |
| 195 enum ETextSecurity { TSNONE, TSDISC, TSCIRCLE, TSSQUARE }; | 195 enum class ETextSecurity { kNone, kDisc, kCircle, kSquare }; |
| 196 | 196 |
| 197 // CSS3 User Modify Properties | 197 // CSS3 User Modify Properties |
| 198 | 198 |
| 199 enum EUserModify { READ_ONLY, READ_WRITE, READ_WRITE_PLAINTEXT_ONLY }; | 199 enum EUserModify { READ_ONLY, READ_WRITE, READ_WRITE_PLAINTEXT_ONLY }; |
| 200 | 200 |
| 201 // CSS3 User Drag Values | 201 // CSS3 User Drag Values |
| 202 | 202 |
| 203 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; | 203 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; |
| 204 | 204 |
| 205 // CSS3 User Select Values | 205 // CSS3 User Select Values |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 // fraction, which leaves 20 bits for the integer part, making 1048575 | 477 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 478 // the largest number. | 478 // the largest number. |
| 479 | 479 |
| 480 static const int kBorderWidthFractionalBits = 6; | 480 static const int kBorderWidthFractionalBits = 6; |
| 481 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 481 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 482 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 482 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 483 | 483 |
| 484 } // namespace blink | 484 } // namespace blink |
| 485 | 485 |
| 486 #endif // ComputedStyleConstants_h | 486 #endif // ComputedStyleConstants_h |
| OLD | NEW |