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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed }; | 259 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed }; |
260 | 260 |
261 enum EBackfaceVisibility { | 261 enum EBackfaceVisibility { |
262 kBackfaceVisibilityVisible, | 262 kBackfaceVisibilityVisible, |
263 kBackfaceVisibilityHidden | 263 kBackfaceVisibilityHidden |
264 }; | 264 }; |
265 | 265 |
266 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; | 266 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; |
267 | 267 |
268 enum class TextEmphasisFill { kFilled, kOpen }; | |
269 | |
270 enum class TextEmphasisMark { | 268 enum class TextEmphasisMark { |
271 kNone, | 269 kNone, |
272 kAuto, | 270 kAuto, |
273 kDot, | 271 kDot, |
274 kCircle, | 272 kCircle, |
275 kDoubleCircle, | 273 kDoubleCircle, |
276 kTriangle, | 274 kTriangle, |
277 kSesame, | 275 kSesame, |
278 kCustom | 276 kCustom |
279 }; | 277 }; |
280 | 278 |
281 enum class TextEmphasisPosition { kOver, kUnder }; | |
282 | |
283 enum class TextOrientation { kMixed, kUpright, kSideways }; | 279 enum class TextOrientation { kMixed, kUpright, kSideways }; |
284 | 280 |
285 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; | 281 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; |
286 | 282 |
287 enum class EImageRendering { | 283 enum class EImageRendering { |
288 kAuto, | 284 kAuto, |
289 kOptimizeSpeed, | 285 kOptimizeSpeed, |
290 kOptimizeQuality, | 286 kOptimizeQuality, |
291 kOptimizeContrast, | 287 kOptimizeContrast, |
292 kPixelated | 288 kPixelated |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 // fraction, which leaves 20 bits for the integer part, making 1048575 | 420 // fraction, which leaves 20 bits for the integer part, making 1048575 |
425 // the largest number. | 421 // the largest number. |
426 | 422 |
427 static const int kBorderWidthFractionalBits = 6; | 423 static const int kBorderWidthFractionalBits = 6; |
428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 424 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 425 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
430 | 426 |
431 } // namespace blink | 427 } // namespace blink |
432 | 428 |
433 #endif // ComputedStyleConstants_h | 429 #endif // ComputedStyleConstants_h |
OLD | NEW |