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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.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/core/StringSequenceCallbackFunctionLongSequenceArg.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h
index 9d4fe0098d3d18469670911116c770f6a86aa3db..ca05d2146e3d70bcca3fe85139452709644499a8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h
@@ -13,6 +13,7 @@
#ifndef StringSequenceCallbackFunctionLongSequenceArg_h
#define StringSequenceCallbackFunctionLongSequenceArg_h
+#include "bindings/core/v8/NativeValueTraits.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/TraceWrapperV8Reference.h"
#include "core/CoreExport.h"
@@ -45,6 +46,11 @@ class CORE_EXPORT StringSequenceCallbackFunctionLongSequenceArg final : public G
TraceWrapperV8Reference<v8::Function> m_callback;
};
+template <>
+struct NativeValueTraits<StringSequenceCallbackFunctionLongSequenceArg> : public NativeValueTraitsBase<StringSequenceCallbackFunctionLongSequenceArg> {
+ CORE_EXPORT static StringSequenceCallbackFunctionLongSequenceArg* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
+};
+
} // namespace blink
#endif // StringSequenceCallbackFunctionLongSequenceArg_h

Powered by Google App Engine
This is Rietveld 408576698