Chromium Code Reviews| 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 reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 476 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels }; | 476 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels }; |
| 477 | 477 |
| 478 enum Order { LogicalOrder = 0, VisualOrder }; | 478 enum Order { LogicalOrder = 0, VisualOrder }; |
| 479 | 479 |
| 480 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; | 480 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; |
| 481 | 481 |
| 482 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; | 482 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; |
| 483 | 483 |
| 484 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; | 484 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; |
| 485 | 485 |
| 486 enum GridAutoFlow { AutoFlowNone, AutoFlowColumn, AutoFlowRow }; | 486 static const size_t GridAutoFlowBits = 5; |
| 487 enum GridAutoFlowAlgorithm { | |
| 488 AutoFlowAlgorithmSparse = 0x1, | |
| 489 AutoFlowAlgorithmDense = 0x2, | |
| 490 AutoFlowAlgorithmStack = 0x4 | |
| 491 }; | |
| 492 | |
| 493 enum GridAutoFlowDirection { | |
|
Julien - ping for review
2014/06/29 01:02:25
I would put internal in the names to underline tha
| |
| 494 AutoFlowDirectionRow = 0x8, | |
| 495 AutoFlowDirectionColumn = 0x10 | |
| 496 }; | |
| 497 | |
| 498 enum GridAutoFlow { | |
| 499 AutoFlowRow = AutoFlowAlgorithmSparse | AutoFlowDirectionRow, | |
| 500 AutoFlowColumn = AutoFlowAlgorithmSparse | AutoFlowDirectionColumn, | |
| 501 AutoFlowRowDense = AutoFlowAlgorithmDense | AutoFlowDirectionRow, | |
| 502 AutoFlowColumnDense = AutoFlowAlgorithmDense | AutoFlowDirectionColumn, | |
| 503 AutoFlowStackRow = AutoFlowAlgorithmStack | AutoFlowDirectionRow, | |
| 504 AutoFlowStackColumn = AutoFlowAlgorithmStack | AutoFlowDirectionColumn | |
| 505 }; | |
| 487 | 506 |
| 488 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag }; | 507 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag }; |
| 489 | 508 |
| 490 static const size_t TouchActionBits = 4; | 509 static const size_t TouchActionBits = 4; |
| 491 enum TouchAction { | 510 enum TouchAction { |
| 492 TouchActionAuto = 0x0, | 511 TouchActionAuto = 0x0, |
| 493 TouchActionNone = 0x1, | 512 TouchActionNone = 0x1, |
| 494 TouchActionPanX = 0x2, | 513 TouchActionPanX = 0x2, |
| 495 TouchActionPanY = 0x4, | 514 TouchActionPanY = 0x4, |
| 496 TouchActionPinchZoom = 0x8, | 515 TouchActionPinchZoom = 0x8, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 529 static const float maximumAllowedFontSize = 1000000.0f; | 548 static const float maximumAllowedFontSize = 1000000.0f; |
| 530 | 549 |
| 531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 532 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 533 | 552 |
| 534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; | 553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; |
| 535 | 554 |
| 536 } // namespace WebCore | 555 } // namespace WebCore |
| 537 | 556 |
| 538 #endif // RenderStyleConstants_h | 557 #endif // RenderStyleConstants_h |
| OLD | NEW |