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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h

Issue 2312093003: Generated bindings for IDL callback functions (Closed)
Patch Set: Addressed comments Created 4 years, 3 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/V8VoidExperimentalCallbackFunction.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h
new file mode 100644
index 0000000000000000000000000000000000000000..ca751d792ad8eb8aa389c952c2b1a313a44989fa
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h
@@ -0,0 +1,38 @@
+// Copyright 2014 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.
+
+// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
+
+#ifndef V8VoidExperimentalCallbackFunction_h
+#define V8VoidExperimentalCallbackFunction_h
+
+#include "bindings/core/v8/ScopedPersistent.h"
+#include "core/CoreExport.h"
+#include "platform/heap/Handle.h"
+#include "wtf/text/WTFString.h"
+
+namespace blink {
+
+class ScriptState;
+
+class CORE_EXPORT V8VoidExperimentalCallbackFunction final : public GarbageCollectedFinalized<V8VoidExperimentalCallbackFunction>{
+public:
+ static V8VoidExperimentalCallbackFunction* create(v8::Isolate* isolate, v8::Local<v8::Function> callback)
+ {
+ return new V8VoidExperimentalCallbackFunction(isolate, callback);
+ }
+
+ ~V8VoidExperimentalCallbackFunction() = default;
+
+ DECLARE_VIRTUAL_TRACE();
+
+ bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, void*& returnValue);
bashi 2016/09/16 05:51:19 "void*& returnValue" doesn't look correct to me.
lkawai 2016/09/16 10:03:20 Done.
+
+private:
+ V8VoidExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function>);
+ ScopedPersistent<v8::Function> m_callback;
+};
+
+} // namespace blink
+#endif // V8VoidExperimentalCallbackFunction_h

Powered by Google App Engine
This is Rietveld 408576698