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

Side by Side Diff: sky/engine/core/css/CSSValuePool.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 21 matching lines...) Expand all
32 #include "core/css/CSSInitialValue.h" 32 #include "core/css/CSSInitialValue.h"
33 #include "core/css/CSSPrimitiveValue.h" 33 #include "core/css/CSSPrimitiveValue.h"
34 #include "wtf/HashMap.h" 34 #include "wtf/HashMap.h"
35 #include "wtf/RefPtr.h" 35 #include "wtf/RefPtr.h"
36 #include "wtf/text/AtomicStringHash.h" 36 #include "wtf/text/AtomicStringHash.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class CSSValueList; 40 class CSSValueList;
41 41
42 class CSSValuePool : public DummyBase<CSSValuePool> { 42 class CSSValuePool {
43 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 43 WTF_MAKE_FAST_ALLOCATED;
44 public: 44 public:
45 PassRefPtr<CSSValueList> createFontFaceValue(const AtomicString&); 45 PassRefPtr<CSSValueList> createFontFaceValue(const AtomicString&);
46 PassRefPtr<CSSPrimitiveValue> createFontFamilyValue(const String&); 46 PassRefPtr<CSSPrimitiveValue> createFontFamilyValue(const String&);
47 PassRefPtr<CSSInheritedValue> createInheritedValue() { return m_inheritedVal ue; } 47 PassRefPtr<CSSInheritedValue> createInheritedValue() { return m_inheritedVal ue; }
48 PassRefPtr<CSSInitialValue> createImplicitInitialValue() { return m_implicit InitialValue; } 48 PassRefPtr<CSSInitialValue> createImplicitInitialValue() { return m_implicit InitialValue; }
49 PassRefPtr<CSSInitialValue> createExplicitInitialValue() { return m_explicit InitialValue; } 49 PassRefPtr<CSSInitialValue> createExplicitInitialValue() { return m_explicit InitialValue; }
50 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSValueID identifier); 50 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSValueID identifier);
51 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSPropertyID identifier ); 51 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSPropertyID identifier );
52 PassRefPtr<CSSPrimitiveValue> createColorValue(unsigned rgbValue); 52 PassRefPtr<CSSPrimitiveValue> createColorValue(unsigned rgbValue);
53 PassRefPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::U nitType); 53 PassRefPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::U nitType);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 FontFamilyValueCache m_fontFamilyValueCache; 86 FontFamilyValueCache m_fontFamilyValueCache;
87 87
88 friend CSSValuePool& cssValuePool(); 88 friend CSSValuePool& cssValuePool();
89 }; 89 };
90 90
91 CSSValuePool& cssValuePool(); 91 CSSValuePool& cssValuePool();
92 92
93 } 93 }
94 94
95 #endif 95 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSStyleDeclaration.h ('k') | sky/engine/core/css/FontFaceSetForEachCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698