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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 150 enum BackgroundEdgeOrigin { TopEdge, RightEdge, BottomEdge, LeftEdge }; | 150 enum BackgroundEdgeOrigin { TopEdge, RightEdge, BottomEdge, LeftEdge }; |
| 151 | 151 |
| 152 // CSS Mask Source Types | 152 // CSS Mask Source Types |
| 153 enum EMaskSourceType { MaskAlpha, MaskLuminance }; | 153 enum EMaskSourceType { MaskAlpha, MaskLuminance }; |
| 154 | 154 |
| 155 // CSS3 Marquee Properties | 155 // CSS3 Marquee Properties |
| 156 | 156 |
| 157 enum EMarqueeBehavior { MNONE, MSCROLL, MSLIDE, MALTERNATE }; | 157 enum EMarqueeBehavior { MNONE, MSCROLL, MSLIDE, MALTERNATE }; |
| 158 enum EMarqueeDirection { MAUTO = 0, MLEFT = 1, MRIGHT = -1, MUP = 2, MDOWN = -2, MFORWARD = 3, MBACKWARD = -3 }; | 158 enum EMarqueeDirection { MAUTO = 0, MLEFT = 1, MRIGHT = -1, MUP = 2, MDOWN = -2, MFORWARD = 3, MBACKWARD = -3 }; |
| 159 | 159 |
| 160 // CSS3 Directional Focus Navigation | |
| 161 | |
| 162 enum ENavigationTarget { Current = 0, Root = 1, TargetName = 2 }; | |
|
fs
2014/10/01 10:52:14
I think you can drop the explicit values, because
| |
| 163 | |
| 160 // Deprecated Flexible Box Properties | 164 // Deprecated Flexible Box Properties |
| 161 | 165 |
| 162 enum EBoxPack { Start, Center, End, Justify }; | 166 enum EBoxPack { Start, Center, End, Justify }; |
| 163 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; | 167 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; |
| 164 enum EBoxOrient { HORIZONTAL, VERTICAL }; | 168 enum EBoxOrient { HORIZONTAL, VERTICAL }; |
| 165 enum EBoxLines { SINGLE, MULTIPLE }; | 169 enum EBoxLines { SINGLE, MULTIPLE }; |
| 166 enum EBoxDirection { BNORMAL, BREVERSE }; | 170 enum EBoxDirection { BNORMAL, BREVERSE }; |
| 167 | 171 |
| 168 // CSS3 Flexbox Properties | 172 // CSS3 Flexbox Properties |
| 169 | 173 |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 548 static const float maximumAllowedFontSize = 1000000.0f; | 552 static const float maximumAllowedFontSize = 1000000.0f; |
| 549 | 553 |
| 550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 554 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 555 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 552 | 556 |
| 553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; | 557 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; |
| 554 | 558 |
| 555 } // namespace blink | 559 } // namespace blink |
| 556 | 560 |
| 557 #endif // RenderStyleConstants_h | 561 #endif // RenderStyleConstants_h |
| OLD | NEW |