#include "core/css/CSSValueList.h"
#include "wtf/PassRefPtr.h"
-namespace WebCore {
+namespace blink {
class CSSTransformValue : public CSSValueList {
public:
+ // FIXME: Can we just use the CSSValueID enum?
// NOTE: these have to match the values in the IDL
enum TransformOperationType {
UnknownTransformOperation,
Matrix3DTransformOperation
};
- static PassRefPtr<CSSTransformValue> create(TransformOperationType type)
+ static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationType type)
{
- return adoptRef(new CSSTransformValue(type));
+ return adoptRefWillBeNoop(new CSSTransformValue(type));
}
String customCSSText() const;
bool equals(const CSSTransformValue& other) const { return m_type == other.m_type && CSSValueList::equals(other); }
- String customSerializeResolvingVariables(const HashMap<AtomicString, String>&) const;
TransformOperationType operationType() const { return m_type; }
- PassRefPtr<CSSTransformValue> cloneForCSSOM() const;
+ PassRefPtrWillBeRawPtr<CSSTransformValue> cloneForCSSOM() const;
+
+ void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch(visitor); }
private:
CSSTransformValue(TransformOperationType);
DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue());
-}
+} // namespace blink
#endif