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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..68bfe8094181344a7dbcff8c5b65680fdaff3b7f
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
@@ -0,0 +1,43 @@
+// Copyright 2016 the chromium authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "core/css/cssom/StylePropertyMap.h"
+
+#include "bindings/core/v8/ExceptionState.h"
+#include "core/css/cssom/SimpleLength.h"
+#include "core/css/cssom/StyleValue.h"
+
+namespace blink {
+
+StyleValue* StylePropertyMap::get(const String& propertyName)
+{
+ return get(cssPropertyID(propertyName));
+}
+
+HeapVector<Member<StyleValue>> StylePropertyMap::getAll(const String& propertyName)
+{
+ return getAll(cssPropertyID(propertyName));
+}
+
+bool StylePropertyMap::has(const String& propertyName)
+{
+ return has(cssPropertyID(propertyName));
+}
+
+void StylePropertyMap::set(const String& propertyName, StyleValueOrStyleValueSequenceOrString& item, ExceptionState& exceptionState)
+{
+ set(cssPropertyID(propertyName), item, exceptionState);
+}
+
+void StylePropertyMap::append(const String& propertyName, StyleValueOrStyleValueSequenceOrString& item, ExceptionState& exceptionState)
+{
+ append(cssPropertyID(propertyName), item, exceptionState);
+}
+
+void StylePropertyMap::remove(const String& propertyName, ExceptionState& exceptionState)
+{
+ remove(cssPropertyID(propertyName), exceptionState);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698