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

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

Issue 1996883002: CSS: SelectorFilter is non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: additional classes Created 4 years, 7 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 26 matching lines...) Expand all
37 #include "core/css/CSSPrimitiveValue.h" 37 #include "core/css/CSSPrimitiveValue.h"
38 #include "core/css/CSSUnsetValue.h" 38 #include "core/css/CSSUnsetValue.h"
39 #include "core/css/CSSValueList.h" 39 #include "core/css/CSSValueList.h"
40 #include "wtf/HashMap.h" 40 #include "wtf/HashMap.h"
41 #include "wtf/RefPtr.h" 41 #include "wtf/RefPtr.h"
42 #include "wtf/text/AtomicStringHash.h" 42 #include "wtf/text/AtomicStringHash.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class CORE_EXPORT CSSValuePool : public GarbageCollectedFinalized<CSSValuePool> { 46 class CORE_EXPORT CSSValuePool : public GarbageCollectedFinalized<CSSValuePool> {
47 WTF_MAKE_NONCOPYABLE(CSSValuePool);
47 public: 48 public:
48 CSSValueList* createFontFaceValue(const AtomicString&); 49 CSSValueList* createFontFaceValue(const AtomicString&);
49 CSSFontFamilyValue* createFontFamilyValue(const String&); 50 CSSFontFamilyValue* createFontFamilyValue(const String&);
50 CSSInheritedValue* createInheritedValue() { return m_inheritedValue; } 51 CSSInheritedValue* createInheritedValue() { return m_inheritedValue; }
51 CSSInitialValue* createImplicitInitialValue() { return m_implicitInitialValu e; } 52 CSSInitialValue* createImplicitInitialValue() { return m_implicitInitialValu e; }
52 CSSInitialValue* createExplicitInitialValue() { return m_explicitInitialValu e; } 53 CSSInitialValue* createExplicitInitialValue() { return m_explicitInitialValu e; }
53 CSSUnsetValue* createUnsetValue() { return m_unsetValue; } 54 CSSUnsetValue* createUnsetValue() { return m_unsetValue; }
54 CSSPrimitiveValue* createIdentifierValue(CSSValueID identifier); 55 CSSPrimitiveValue* createIdentifierValue(CSSValueID identifier);
55 CSSCustomIdentValue* createIdentifierValue(CSSPropertyID identifier); 56 CSSCustomIdentValue* createIdentifierValue(CSSPropertyID identifier);
56 CSSColorValue* createColorValue(RGBA32 rgbValue); 57 CSSColorValue* createColorValue(RGBA32 rgbValue);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 FontFamilyValueCache m_fontFamilyValueCache; 91 FontFamilyValueCache m_fontFamilyValueCache;
91 92
92 friend CORE_EXPORT CSSValuePool& cssValuePool(); 93 friend CORE_EXPORT CSSValuePool& cssValuePool();
93 }; 94 };
94 95
95 CORE_EXPORT CSSValuePool& cssValuePool(); 96 CORE_EXPORT CSSValuePool& cssValuePool();
96 97
97 } // namespace blink 98 } // namespace blink
98 99
99 #endif 100 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueList.h ('k') | third_party/WebKit/Source/core/css/FontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698