| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 static const float kMaximumAllowedFontSize = 10000.0f; | 343 static const float kMaximumAllowedFontSize = 10000.0f; |
| 344 | 344 |
| 345 enum CSSBoxType { | 345 enum CSSBoxType { |
| 346 kBoxMissing = 0, | 346 kBoxMissing = 0, |
| 347 kMarginBox, | 347 kMarginBox, |
| 348 kBorderBox, | 348 kBorderBox, |
| 349 kPaddingBox, | 349 kPaddingBox, |
| 350 kContentBox | 350 kContentBox |
| 351 }; | 351 }; |
| 352 | 352 |
| 353 enum ScrollSnapType { | 353 enum SnapAxis { |
| 354 kScrollSnapTypeNone, | 354 kSnapAxisBoth, |
| 355 kScrollSnapTypeMandatory, | 355 kSnapAxisX, |
| 356 kScrollSnapTypeProximity | 356 kSnapAxisY, |
| 357 kSnapAxisBlock, |
| 358 kSnapAxisInline, |
| 359 }; |
| 360 |
| 361 enum SnapStrictness { kSnapStrictnessProximity, kSnapStrictnessMandatory }; |
| 362 |
| 363 enum SnapAlignment { |
| 364 kSnapAlignmentNone, |
| 365 kSnapAlignmentStart, |
| 366 kSnapAlignmentEnd, |
| 367 kSnapAlignmentCenter |
| 357 }; | 368 }; |
| 358 | 369 |
| 359 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit }; | 370 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit }; |
| 360 | 371 |
| 361 // Page size type. | 372 // Page size type. |
| 362 // StyleRareNonInheritedData::page_size_ is meaningful only when | 373 // StyleRareNonInheritedData::page_size_ is meaningful only when |
| 363 // StyleRareNonInheritedData::page_size_type_ is kResolved. | 374 // StyleRareNonInheritedData::page_size_type_ is kResolved. |
| 364 enum class PageSizeType { | 375 enum class PageSizeType { |
| 365 kAuto, // size: auto | 376 kAuto, // size: auto |
| 366 kLandscape, // size: landscape | 377 kLandscape, // size: landscape |
| 367 kPortrait, // size: portrait | 378 kPortrait, // size: portrait |
| 368 kResolved // Size is fully resolved. | 379 kResolved // Size is fully resolved. |
| 369 }; | 380 }; |
| 370 | 381 |
| 371 } // namespace blink | 382 } // namespace blink |
| 372 | 383 |
| 373 #endif // ComputedStyleConstants_h | 384 #endif // ComputedStyleConstants_h |
| OLD | NEW |