| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 enum EFillBox { | 83 enum EFillBox { |
| 84 BorderFillBox, PaddingFillBox, ContentFillBox | 84 BorderFillBox, PaddingFillBox, ContentFillBox |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 enum EFillRepeat { | 87 enum EFillRepeat { |
| 88 RepeatFill, NoRepeatFill, RoundFill, SpaceFill | 88 RepeatFill, NoRepeatFill, RoundFill, SpaceFill |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 // FIXME(sky): Remove this enum. |
| 91 enum EFillLayerType { | 92 enum EFillLayerType { |
| 92 BackgroundFillLayer, MaskFillLayer | 93 BackgroundFillLayer |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 // CSS3 Background Values | 96 // CSS3 Background Values |
| 96 enum EFillSizeType { Contain, Cover, SizeLength, SizeNone }; | 97 enum EFillSizeType { Contain, Cover, SizeLength, SizeNone }; |
| 97 | 98 |
| 98 // CSS3 Background Position | 99 // CSS3 Background Position |
| 99 enum BackgroundEdgeOrigin { TopEdge, RightEdge, BottomEdge, LeftEdge }; | 100 enum BackgroundEdgeOrigin { TopEdge, RightEdge, BottomEdge, LeftEdge }; |
| 100 | 101 |
| 101 // CSS Mask Source Types | |
| 102 enum EMaskSourceType { MaskAlpha, MaskLuminance }; | |
| 103 | |
| 104 // Deprecated Flexible Box Properties | 102 // Deprecated Flexible Box Properties |
| 105 | 103 |
| 106 enum EBoxPack { Start, Center, End, Justify }; | 104 enum EBoxPack { Start, Center, End, Justify }; |
| 107 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; | 105 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; |
| 108 enum EBoxOrient { HORIZONTAL, VERTICAL }; | 106 enum EBoxOrient { HORIZONTAL, VERTICAL }; |
| 109 enum EBoxLines { SINGLE, MULTIPLE }; | 107 enum EBoxLines { SINGLE, MULTIPLE }; |
| 110 enum EBoxDirection { BNORMAL, BREVERSE }; | 108 enum EBoxDirection { BNORMAL, BREVERSE }; |
| 111 | 109 |
| 112 // CSS3 Flexbox Properties | 110 // CSS3 Flexbox Properties |
| 113 | 111 |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 static const float maximumAllowedFontSize = 1000000.0f; | 433 static const float maximumAllowedFontSize = 1000000.0f; |
| 436 | 434 |
| 437 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 435 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 438 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 436 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 439 | 437 |
| 440 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 438 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 441 | 439 |
| 442 } // namespace blink | 440 } // namespace blink |
| 443 | 441 |
| 444 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ | 442 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ |
| OLD | NEW |