| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationTy
pe type) | 63 static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationTy
pe type) |
| 64 { | 64 { |
| 65 return adoptRefWillBeNoop(new CSSTransformValue(type)); | 65 return adoptRefWillBeNoop(new CSSTransformValue(type)); |
| 66 } | 66 } |
| 67 | 67 |
| 68 String customCSSText() const; | 68 String customCSSText() const; |
| 69 bool equals(const CSSTransformValue& other) const { return m_type == other.m
_type && CSSValueList::equals(other); } | 69 bool equals(const CSSTransformValue& other) const { return m_type == other.m
_type && CSSValueList::equals(other); } |
| 70 | 70 |
| 71 TransformOperationType operationType() const { return m_type; } | 71 TransformOperationType operationType() const { return m_type; } |
| 72 | 72 |
| 73 PassRefPtrWillBeRawPtr<CSSTransformValue> cloneForCSSOM() const; | |
| 74 | |
| 75 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch
(visitor); } | 73 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch
(visitor); } |
| 76 | 74 |
| 77 private: | 75 private: |
| 78 CSSTransformValue(TransformOperationType); | 76 CSSTransformValue(TransformOperationType); |
| 79 CSSTransformValue(const CSSTransformValue& cloneFrom); | |
| 80 | 77 |
| 81 TransformOperationType m_type; | 78 TransformOperationType m_type; |
| 82 }; | 79 }; |
| 83 | 80 |
| 84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue()); | 81 DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue()); |
| 85 | 82 |
| 86 } // namespace blink | 83 } // namespace blink |
| 87 | 84 |
| 88 #endif | 85 #endif |
| OLD | NEW |