Oilpan: fix build after r202625.
[chromium-blink-merge.git] / third_party / WebKit / Source / core / css / CSSPathValue.h
blob7121ebb710c11f906faa15cd2424132ef09c1696
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.
5 #ifndef CSSPathValue_h
6 #define CSSPathValue_h
8 #include "core/css/CSSValue.h"
9 #include "wtf/PassRefPtr.h"
10 #include "wtf/RefPtr.h"
12 namespace blink {
14 class CSSPathValue : public CSSValue {
15 public:
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; }
29 private:
30 CSSPathValue(const String& pathString);
32 String m_pathString;
35 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPathValue, isPathValue());
37 } // namespace blink
39 #endif // CSSPathValue_h