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

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

Issue 1590193002: Partial implementation of inline StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maps
Patch Set: Update tests Created 4 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 StylePropertyMap_h 5 #ifndef StylePropertyMap_h
6 #define StylePropertyMap_h 6 #define StylePropertyMap_h
7 7
8 #include "bindings/core/v8/Iterable.h" 8 #include "bindings/core/v8/Iterable.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/core/v8/UnionTypesCore.h" 10 #include "bindings/core/v8/UnionTypesCore.h"
(...skipping 28 matching lines...) Expand all
39 void remove(const String& propertyName, ExceptionState&); 39 void remove(const String& propertyName, ExceptionState&);
40 40
41 virtual void set(CSSPropertyID, StyleValueOrStyleValueSequenceOrString& item , ExceptionState&) = 0; 41 virtual void set(CSSPropertyID, StyleValueOrStyleValueSequenceOrString& item , ExceptionState&) = 0;
42 virtual void append(CSSPropertyID, StyleValueOrStyleValueSequenceOrString& i tem, ExceptionState&) = 0; 42 virtual void append(CSSPropertyID, StyleValueOrStyleValueSequenceOrString& i tem, ExceptionState&) = 0;
43 virtual void remove(CSSPropertyID, ExceptionState&) = 0; 43 virtual void remove(CSSPropertyID, ExceptionState&) = 0;
44 44
45 DEFINE_INLINE_VIRTUAL_TRACE() { } 45 DEFINE_INLINE_VIRTUAL_TRACE() { }
46 46
47 protected: 47 protected:
48 StylePropertyMap() { } 48 StylePropertyMap() { }
49
50 IterationSource* startIteration(ScriptState*, ExceptionState&) override { re turn nullptr; }
49 }; 51 };
50 52
51 } // namespace blink 53 } // namespace blink
52 54
53 #endif 55 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698