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 10 matching lines...) Expand all Loading... |
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
23 * | 23 * |
24 */ | 24 */ |
25 | 25 |
26 #ifndef RenderStyleConstants_h | 26 #ifndef RenderStyleConstants_h |
27 #define RenderStyleConstants_h | 27 #define RenderStyleConstants_h |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
| 31 // Sides used when drawing borders and outlines. The values should run clockwise
from top. |
| 32 enum BoxSide { |
| 33 BSTop, |
| 34 BSRight, |
| 35 BSBottom, |
| 36 BSLeft |
| 37 }; |
| 38 |
31 enum StyleRecalcChange { | 39 enum StyleRecalcChange { |
32 NoChange, | 40 NoChange, |
33 NoInherit, | 41 NoInherit, |
34 UpdatePseudoElements, | 42 UpdatePseudoElements, |
35 Inherit, | 43 Inherit, |
36 Force, | 44 Force, |
37 Reattach, | 45 Reattach, |
38 ReattachNoRenderer | 46 ReattachNoRenderer |
39 }; | 47 }; |
40 | 48 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 static const float maximumAllowedFontSize = 1000000.0f; | 548 static const float maximumAllowedFontSize = 1000000.0f; |
541 | 549 |
542 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
543 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
544 | 552 |
545 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
546 | 554 |
547 } // namespace blink | 555 } // namespace blink |
548 | 556 |
549 #endif // RenderStyleConstants_h | 557 #endif // RenderStyleConstants_h |
OLD | NEW |