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