| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
| 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 TransformBuilder::TransformBuilder() | 46 TransformBuilder::TransformBuilder() |
| 47 { | 47 { |
| 48 } | 48 } |
| 49 | 49 |
| 50 TransformBuilder::~TransformBuilder() | 50 TransformBuilder::~TransformBuilder() |
| 51 { | 51 { |
| 52 } | 52 } |
| 53 | 53 |
| 54 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, const Rend
erStyle* style, const RenderStyle* rootStyle, double multiplier) | 54 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, const Rend
erStyle* style, const RenderStyle* rootStyle, double multiplier) |
| 55 { | 55 { |
| 56 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion
| PercentConversion | FractionConversion>(style, rootStyle, multiplier) : Lengt
h(Undefined); | 56 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion
| PercentConversion>(style, rootStyle, multiplier) : Length(Undefined); |
| 57 } | 57 } |
| 58 | 58 |
| 59 static TransformOperation::OperationType getTransformOperationType(CSSTransformV
alue::TransformOperationType type) | 59 static TransformOperation::OperationType getTransformOperationType(CSSTransformV
alue::TransformOperationType type) |
| 60 { | 60 { |
| 61 switch (type) { | 61 switch (type) { |
| 62 case CSSTransformValue::ScaleTransformOperation: return TransformOperation::
Scale; | 62 case CSSTransformValue::ScaleTransformOperation: return TransformOperation::
Scale; |
| 63 case CSSTransformValue::ScaleXTransformOperation: return TransformOperation:
:ScaleX; | 63 case CSSTransformValue::ScaleXTransformOperation: return TransformOperation:
:ScaleX; |
| 64 case CSSTransformValue::ScaleYTransformOperation: return TransformOperation:
:ScaleY; | 64 case CSSTransformValue::ScaleYTransformOperation: return TransformOperation:
:ScaleY; |
| 65 case CSSTransformValue::ScaleZTransformOperation: return TransformOperation:
:ScaleZ; | 65 case CSSTransformValue::ScaleZTransformOperation: return TransformOperation:
:ScaleZ; |
| 66 case CSSTransformValue::Scale3DTransformOperation: return TransformOperation
::Scale3D; | 66 case CSSTransformValue::Scale3DTransformOperation: return TransformOperation
::Scale3D; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 ASSERT_NOT_REACHED(); | 324 ASSERT_NOT_REACHED(); |
| 325 break; | 325 break; |
| 326 } | 326 } |
| 327 } | 327 } |
| 328 | 328 |
| 329 outOperations = operations; | 329 outOperations = operations; |
| 330 return true; | 330 return true; |
| 331 } | 331 } |
| 332 | 332 |
| 333 } // namespace WebCore | 333 } // namespace WebCore |
| OLD | NEW |