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