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

Side by Side Diff: Source/core/css/CSSVariablesMap.h

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSMatrix.h ('k') | Source/core/css/Pair.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
32 #include "core/css/CSSVariablesMapForEachCallback.h" 32 #include "core/css/CSSVariablesMapForEachCallback.h"
33 #include "wtf/RefCounted.h" 33 #include "wtf/RefCounted.h"
34 #include "wtf/text/WTFString.h" 34 #include "wtf/text/WTFString.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class CSSStyleDeclaration; 38 class CSSStyleDeclaration;
39 class CSSVariablesIterator; 39 class CSSVariablesIterator;
40 class ExceptionState; 40 class ExceptionState;
41 41
42 class CSSVariablesMap : public RefCounted<CSSVariablesMap> { 42 class CSSVariablesMap FINAL : public RefCounted<CSSVariablesMap> {
43 public: 43 public:
44 static PassRefPtr<CSSVariablesMap> create(CSSStyleDeclaration* styleDeclarat ion) 44 static PassRefPtr<CSSVariablesMap> create(CSSStyleDeclaration* styleDeclarat ion)
45 { 45 {
46 return adoptRef(new CSSVariablesMap(styleDeclaration)); 46 return adoptRef(new CSSVariablesMap(styleDeclaration));
47 } 47 }
48 48
49 unsigned size() const; 49 unsigned size() const;
50 String get(const AtomicString& name) const; 50 String get(const AtomicString& name) const;
51 bool has(const AtomicString& name) const; 51 bool has(const AtomicString& name) const;
52 void set(const AtomicString& name, const String& value, ExceptionState&); 52 void set(const AtomicString& name, const String& value, ExceptionState&);
(...skipping 14 matching lines...) Expand all
67 void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisAr g) const; 67 void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisAr g) const;
68 68
69 CSSStyleDeclaration* m_styleDeclaration; 69 CSSStyleDeclaration* m_styleDeclaration;
70 typedef Vector<CSSVariablesIterator*> Iterators; 70 typedef Vector<CSSVariablesIterator*> Iterators;
71 mutable Iterators m_activeIterators; 71 mutable Iterators m_activeIterators;
72 }; 72 };
73 73
74 } // namespace WebCore 74 } // namespace WebCore
75 75
76 #endif // CSSVariablesMap_h 76 #endif // CSSVariablesMap_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSMatrix.h ('k') | Source/core/css/Pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698