| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 RotateXTransformOperation, | 53 RotateXTransformOperation, |
| 54 RotateYTransformOperation, | 54 RotateYTransformOperation, |
| 55 RotateZTransformOperation, | 55 RotateZTransformOperation, |
| 56 Rotate3DTransformOperation, | 56 Rotate3DTransformOperation, |
| 57 ScaleZTransformOperation, | 57 ScaleZTransformOperation, |
| 58 Scale3DTransformOperation, | 58 Scale3DTransformOperation, |
| 59 PerspectiveTransformOperation, | 59 PerspectiveTransformOperation, |
| 60 Matrix3DTransformOperation | 60 Matrix3DTransformOperation |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 OVERRIDE_NEW(WebKitCSSTransformValue) |
| 64 |
| 63 static PassRefPtr<WebKitCSSTransformValue> create(TransformOperationType typ
e) | 65 static PassRefPtr<WebKitCSSTransformValue> create(TransformOperationType typ
e) |
| 64 { | 66 { |
| 65 return adoptRef(new WebKitCSSTransformValue(type)); | 67 return adoptRef(new WebKitCSSTransformValue(type)); |
| 66 } | 68 } |
| 67 | 69 |
| 68 String customCssText() const; | 70 String customCssText() const; |
| 69 bool equals(Handle<const WebKitCSSTransformValue> other) const { return m_ty
pe == other->m_type && CSSValueList::equals(other); } | 71 bool equals(Handle<const WebKitCSSTransformValue> other) const { return m_ty
pe == other->m_type && CSSValueList::equals(other); } |
| 70 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; | 72 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; |
| 71 | 73 |
| 72 TransformOperationType operationType() const { return m_type; } | 74 TransformOperationType operationType() const { return m_type; } |
| 73 | 75 |
| 74 PassRefPtr<WebKitCSSTransformValue> cloneForCSSOM() const; | 76 PassRefPtr<WebKitCSSTransformValue> cloneForCSSOM() const; |
| 75 | 77 |
| 76 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | 78 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; |
| 77 | 79 |
| 78 private: | 80 private: |
| 79 WebKitCSSTransformValue(TransformOperationType); | 81 WebKitCSSTransformValue(TransformOperationType); |
| 80 WebKitCSSTransformValue(const WebKitCSSTransformValue& cloneFrom); | 82 WebKitCSSTransformValue(const WebKitCSSTransformValue& cloneFrom); |
| 81 | 83 |
| 82 TransformOperationType m_type; | 84 TransformOperationType m_type; |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 } | 87 } |
| 86 | 88 |
| 87 #endif | 89 #endif |
| OLD | NEW |