OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CSSLineBoxContainValue_h | 26 #ifndef CSSLineBoxContainValue_h |
27 #define CSSLineBoxContainValue_h | 27 #define CSSLineBoxContainValue_h |
28 | 28 |
29 #include "core/css/CSSValue.h" | 29 #include "core/css/CSSValue.h" |
30 #include <wtf/PassRefPtr.h> | 30 #include <wtf/PassRefPtr.h> |
31 #include <wtf/RefPtr.h> | |
32 | 31 |
33 namespace WebCore { | 32 namespace WebCore { |
34 | 33 |
35 class CSSPrimitiveValue; | 34 class CSSPrimitiveValue; |
36 | 35 |
37 enum LineBoxContainFlags { LineBoxContainNone = 0x0, LineBoxContainBlock = 0x1,
LineBoxContainInline = 0x2, LineBoxContainFont = 0x4, LineBoxContainGlyphs = 0x8
, | 36 enum LineBoxContainFlags { LineBoxContainNone = 0x0, LineBoxContainBlock = 0x1,
LineBoxContainInline = 0x2, LineBoxContainFont = 0x4, LineBoxContainGlyphs = 0x8
, |
38 LineBoxContainReplaced = 0x10, LineBoxContainInlineBo
x = 0x20 }; | 37 LineBoxContainReplaced = 0x10, LineBoxContainInlineBo
x = 0x20 }; |
39 typedef unsigned LineBoxContain; | 38 typedef unsigned LineBoxContain; |
40 | 39 |
41 // Used for text-CSSLineBoxContain and box-CSSLineBoxContain | 40 // Used for text-CSSLineBoxContain and box-CSSLineBoxContain |
(...skipping 13 matching lines...) Expand all Loading... |
55 private: | 54 private: |
56 LineBoxContain m_value; | 55 LineBoxContain m_value; |
57 | 56 |
58 private: | 57 private: |
59 CSSLineBoxContainValue(LineBoxContain); | 58 CSSLineBoxContainValue(LineBoxContain); |
60 }; | 59 }; |
61 | 60 |
62 } // namespace | 61 } // namespace |
63 | 62 |
64 #endif | 63 #endif |
OLD | NEW |