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

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

Issue 1582963004: Add outline files for StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update global-interface-listing-expected.html too Created 4 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "core/css/cssom/StylePropertyMap.h"
6
7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/css/cssom/SimpleLength.h"
9 #include "core/css/cssom/StyleValue.h"
10
11 namespace blink {
12
13 StyleValue* StylePropertyMap::get(const String& propertyName)
14 {
15 return get(cssPropertyID(propertyName));
16 }
17
18 HeapVector<Member<StyleValue>> StylePropertyMap::getAll(const String& propertyNa me)
19 {
20 return getAll(cssPropertyID(propertyName));
21 }
22
23 bool StylePropertyMap::has(const String& propertyName)
24 {
25 return has(cssPropertyID(propertyName));
26 }
27
28 void StylePropertyMap::set(const String& propertyName, StyleValueOrStyleValueSeq uenceOrString& item, ExceptionState& exceptionState)
29 {
30 set(cssPropertyID(propertyName), item, exceptionState);
31 }
32
33 void StylePropertyMap::append(const String& propertyName, StyleValueOrStyleValue SequenceOrString& item, ExceptionState& exceptionState)
34 {
35 append(cssPropertyID(propertyName), item, exceptionState);
36 }
37
38 void StylePropertyMap::remove(const String& propertyName, ExceptionState& except ionState)
39 {
40 remove(cssPropertyID(propertyName), exceptionState);
41 }
42
43 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698