1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 #include "core/css/CSSValue.h"
9 #include "wtf/PassRefPtr.h"
10 #include "wtf/RefPtr.h"
14 class CSSPathValue
: public CSSValue
{
16 static PassRefPtrWillBeRawPtr
<CSSPathValue
> create(const String
& pathString
)
18 return adoptRefWillBeNoop(new CSSPathValue(pathString
));
21 String
customCSSText() const;
23 bool equals(const CSSPathValue
&) const;
25 DECLARE_TRACE_AFTER_DISPATCH();
27 const String
& pathString() const { return m_pathString
; }
30 CSSPathValue(const String
& pathString
);
35 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPathValue
, isPathValue());
39 #endif // CSSPathValue_h