| 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/rendering/style/RenderStyleConstants.h" | 39 #include "core/rendering/style/RenderStyleConstants.h" |
| 40 #include "platform/Length.h" | 40 #include "platform/Length.h" |
| 41 #include "platform/fonts/FontDescription.h" | 41 #include "platform/fonts/FontDescription.h" |
| 42 #include "platform/fonts/FontSmoothingMode.h" | 42 #include "platform/fonts/FontSmoothingMode.h" |
| 43 #include "platform/fonts/TextRenderingMode.h" | 43 #include "platform/fonts/TextRenderingMode.h" |
| 44 #include "platform/graphics/GraphicsTypes.h" | 44 #include "platform/graphics/GraphicsTypes.h" |
| 45 #include "platform/graphics/Path.h" | 45 #include "platform/graphics/Path.h" |
| 46 #include "platform/scroll/ScrollableArea.h" | 46 #include "platform/scroll/ScrollableArea.h" |
| 47 #include "platform/text/TextDirection.h" | 47 #include "platform/text/TextDirection.h" |
| 48 #include "platform/text/UnicodeBidi.h" | 48 #include "platform/text/UnicodeBidi.h" |
| 49 #include "platform/text/WritingMode.h" | |
| 50 #include "wtf/MathExtras.h" | 49 #include "wtf/MathExtras.h" |
| 51 | 50 |
| 52 namespace blink { | 51 namespace blink { |
| 53 | 52 |
| 54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) | 53 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) |
| 55 : CSSValue(PrimitiveClass) | 54 : CSSValue(PrimitiveClass) |
| 56 { | 55 { |
| 57 m_primitiveUnitType = CSS_NUMBER; | 56 m_primitiveUnitType = CSS_NUMBER; |
| 58 m_value.num = static_cast<double>(i); | 57 m_value.num = static_cast<double>(i); |
| 59 } | 58 } |
| (...skipping 3760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3820 default: | 3819 default: |
| 3821 break; | 3820 break; |
| 3822 } | 3821 } |
| 3823 ASSERT_NOT_REACHED(); | 3822 ASSERT_NOT_REACHED(); |
| 3824 return ScrollBehaviorInstant; | 3823 return ScrollBehaviorInstant; |
| 3825 } | 3824 } |
| 3826 | 3825 |
| 3827 } | 3826 } |
| 3828 | 3827 |
| 3829 #endif | 3828 #endif |
| OLD | NEW |