OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 12 matching lines...) Expand all Loading... |
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef CSSVariablesMap_h | 28 #ifndef CSSVariablesMap_h |
29 #define CSSVariablesMap_h | 29 #define CSSVariablesMap_h |
30 | 30 |
31 #include "RuntimeEnabledFeatures.h" | 31 #include "RuntimeEnabledFeatures.h" |
32 #include "core/css/CSSVariablesMapForEachCallback.h" | 32 #include "core/css/CSSVariablesMapForEachCallback.h" |
| 33 #include "wtf/PassOwnPtr.h" |
33 #include "wtf/RefCounted.h" | 34 #include "wtf/RefCounted.h" |
34 #include "wtf/text/WTFString.h" | 35 #include "wtf/text/WTFString.h" |
35 | 36 |
36 namespace WebCore { | 37 namespace WebCore { |
37 | 38 |
38 class CSSStyleDeclaration; | 39 class CSSStyleDeclaration; |
39 class CSSVariablesIterator; | 40 class CSSVariablesIterator; |
40 class ExceptionState; | 41 class ExceptionState; |
41 | 42 |
42 class CSSVariablesMap FINAL : public RefCounted<CSSVariablesMap> { | 43 class CSSVariablesMap FINAL : public RefCounted<CSSVariablesMap> { |
(...skipping 24 matching lines...) Expand all Loading... |
67 void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisAr
g) const; | 68 void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisAr
g) const; |
68 | 69 |
69 CSSStyleDeclaration* m_styleDeclaration; | 70 CSSStyleDeclaration* m_styleDeclaration; |
70 typedef Vector<CSSVariablesIterator*> Iterators; | 71 typedef Vector<CSSVariablesIterator*> Iterators; |
71 mutable Iterators m_activeIterators; | 72 mutable Iterators m_activeIterators; |
72 }; | 73 }; |
73 | 74 |
74 } // namespace WebCore | 75 } // namespace WebCore |
75 | 76 |
76 #endif // CSSVariablesMap_h | 77 #endif // CSSVariablesMap_h |
OLD | NEW |