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