OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>. | 2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>. |
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> | 5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/css/CSSCalculationValue.h" | 34 #include "core/css/CSSCalculationValue.h" |
35 #include "core/css/CSSPrimitiveValue.h" | 35 #include "core/css/CSSPrimitiveValue.h" |
36 #include "core/css/CSSReflectionDirection.h" | 36 #include "core/css/CSSReflectionDirection.h" |
37 #include "core/platform/graphics/FontDescription.h" | 37 #include "core/platform/graphics/FontDescription.h" |
38 #include "core/platform/graphics/FontSmoothingMode.h" | 38 #include "core/platform/graphics/FontSmoothingMode.h" |
39 #include "core/platform/graphics/GraphicsTypes.h" | 39 #include "core/platform/graphics/GraphicsTypes.h" |
40 #include "core/platform/Length.h" | 40 #include "core/platform/Length.h" |
41 #include "core/platform/ThemeTypes.h" | 41 #include "core/platform/ThemeTypes.h" |
42 #include "core/platform/graphics/Path.h" | 42 #include "core/platform/graphics/Path.h" |
43 #include "core/platform/graphics/TextRenderingMode.h" | 43 #include "core/platform/graphics/TextRenderingMode.h" |
44 #include "core/platform/text/TextDirection.h" | |
45 #include "core/platform/text/UnicodeBidi.h" | 44 #include "core/platform/text/UnicodeBidi.h" |
46 #include "core/platform/text/WritingMode.h" | |
47 #include "core/rendering/style/LineClampValue.h" | 45 #include "core/rendering/style/LineClampValue.h" |
48 #include "core/rendering/style/RenderStyleConstants.h" | 46 #include "core/rendering/style/RenderStyleConstants.h" |
49 #include "core/rendering/style/SVGRenderStyleDefs.h" | 47 #include "core/rendering/style/SVGRenderStyleDefs.h" |
| 48 #include "platform/text/TextDirection.h" |
| 49 #include "platform/text/WritingMode.h" |
50 #include "wtf/MathExtras.h" | 50 #include "wtf/MathExtras.h" |
51 | 51 |
52 namespace WebCore { | 52 namespace WebCore { |
53 | 53 |
54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) | 54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) |
55 : CSSValue(PrimitiveClass) | 55 : CSSValue(PrimitiveClass) |
56 { | 56 { |
57 m_primitiveUnitType = CSS_NUMBER; | 57 m_primitiveUnitType = CSS_NUMBER; |
58 m_value.num = static_cast<double>(i); | 58 m_value.num = static_cast<double>(i); |
59 } | 59 } |
(...skipping 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4852 break; | 4852 break; |
4853 } | 4853 } |
4854 | 4854 |
4855 ASSERT_NOT_REACHED(); | 4855 ASSERT_NOT_REACHED(); |
4856 return IsolationAuto; | 4856 return IsolationAuto; |
4857 } | 4857 } |
4858 | 4858 |
4859 } | 4859 } |
4860 | 4860 |
4861 #endif | 4861 #endif |
OLD | NEW |