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

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: Make more functions pure virtual 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..495b601f33cf2936b6d8ee86afaca849d23efb28
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
@@ -0,0 +1,23 @@
+// 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)
Timothy Loh 2016/01/18 03:47:23 Do these need to be virtual?
meade_UTC10 2016/01/19 00:15:19 I don't think so - The idea is that the CSSPropert
Timothy Loh 2016/01/19 05:30:46 Latest patch seems fine for this.
+{
+ return get(cssPropertyID(propertyName));
+}
+
+void StylePropertyMap::set(const String& propertyName, StyleValueOrStyleValueSequenceOrString& item, ExceptionState& exceptionState)
+{
+ return set(cssPropertyID(propertyName), item, exceptionState);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698