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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h

Issue 2730183003: bindings: Add C++ versions of WebIDL types and generalize NativeValueTraits. (Closed)
Patch Set: Move specialization for SerializedScriptValue to the appropriate header Created 3 years, 9 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/bindings/tests/results/modules/V8TestInterface5.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h
index 3545815f46c920bbe25e423e0a50224fc6f182eb..2f25aeae90e5a25cba346546faad0be9472eb40f 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h
@@ -14,6 +14,7 @@
#include "bindings/core/v8/DoubleOrString.h"
#include "bindings/core/v8/GeneratedCodeHelper.h"
+#include "bindings/core/v8/NativeValueTraits.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ToV8.h"
#include "bindings/core/v8/V8Binding.h"
@@ -99,6 +100,11 @@ class V8TestInterface5 {
};
template <>
+struct NativeValueTraits<TestInterface5Implementation> : public NativeValueTraitsBase<TestInterface5Implementation> {
+ MODULES_EXPORT static TestInterface5Implementation* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
+};
+
+template <>
struct V8TypeOf<TestInterface5Implementation> {
typedef V8TestInterface5 Type;
};

Powered by Google App Engine
This is Rietveld 408576698