Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSCustomIdentValue.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSCustomIdentValue_h 5 #ifndef CSSCustomIdentValue_h
6 #define CSSCustomIdentValue_h 6 #define CSSCustomIdentValue_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/css/CSSValue.h" 9 #include "core/css/CSSValue.h"
10 #include "wtf/PassRefPtr.h"
11 #include "wtf/RefCounted.h"
12 10
13 namespace blink { 11 namespace blink {
14 12
15 class CSSCustomIdentValue : public CSSValue { 13 class CSSCustomIdentValue : public CSSValue {
16 public: 14 public:
17 static CSSCustomIdentValue* create(const String& str) 15 static CSSCustomIdentValue* create(const String& str)
18 { 16 {
19 return new CSSCustomIdentValue(str); 17 return new CSSCustomIdentValue(str);
20 } 18 }
21 19
(...skipping 23 matching lines...) Expand all
45 // TODO(sashab): Change this to an AtomicString. 43 // TODO(sashab): Change this to an AtomicString.
46 String m_string; 44 String m_string;
47 CSSPropertyID m_propertyId; 45 CSSPropertyID m_propertyId;
48 }; 46 };
49 47
50 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCustomIdentValue, isCustomIdentValue()); 48 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCustomIdentValue, isCustomIdentValue());
51 49
52 } // namespace blink 50 } // namespace blink
53 51
54 #endif // CSSCustomIdentValue_h 52 #endif // CSSCustomIdentValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCalculationValue.h ('k') | third_party/WebKit/Source/core/css/CSSFontFamilyValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698