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