| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 return String(); | 67 return String(); |
| 68 } | 68 } |
| 69 | 69 |
| 70 CSSTransformValue::CSSTransformValue(TransformOperationType op) | 70 CSSTransformValue::CSSTransformValue(TransformOperationType op) |
| 71 : CSSValueList(CSSTransformClass, CommaSeparator) | 71 : CSSValueList(CSSTransformClass, CommaSeparator) |
| 72 , m_type(op) | 72 , m_type(op) |
| 73 { | 73 { |
| 74 } | 74 } |
| 75 | 75 |
| 76 String CSSTransformValue::customCssText() const | 76 String CSSTransformValue::customCSSText() const |
| 77 { | 77 { |
| 78 return transformValueToCssString(m_type, CSSValueList::customCssText()); | 78 return transformValueToCssString(m_type, CSSValueList::customCSSText()); |
| 79 } | 79 } |
| 80 | 80 |
| 81 String CSSTransformValue::customSerializeResolvingVariables(const HashMap<Atomic
String, String>& variables) const | 81 String CSSTransformValue::customSerializeResolvingVariables(const HashMap<Atomic
String, String>& variables) const |
| 82 { | 82 { |
| 83 return transformValueToCssString(m_type, CSSValueList::customSerializeResolv
ingVariables(variables)); | 83 return transformValueToCssString(m_type, CSSValueList::customSerializeResolv
ingVariables(variables)); |
| 84 } | 84 } |
| 85 | 85 |
| 86 CSSTransformValue::CSSTransformValue(const CSSTransformValue& cloneFrom) | 86 CSSTransformValue::CSSTransformValue(const CSSTransformValue& cloneFrom) |
| 87 : CSSValueList(cloneFrom) | 87 : CSSValueList(cloneFrom) |
| 88 , m_type(cloneFrom.m_type) | 88 , m_type(cloneFrom.m_type) |
| 89 { | 89 { |
| 90 } | 90 } |
| 91 | 91 |
| 92 PassRefPtr<CSSTransformValue> CSSTransformValue::cloneForCSSOM() const | 92 PassRefPtr<CSSTransformValue> CSSTransformValue::cloneForCSSOM() const |
| 93 { | 93 { |
| 94 return adoptRef(new CSSTransformValue(*this)); | 94 return adoptRef(new CSSTransformValue(*this)); |
| 95 } | 95 } |
| 96 | 96 |
| 97 } | 97 } |
| OLD | NEW |