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

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

Issue 2312093003: Generated bindings for IDL callback functions (Closed)
Patch Set: Did rebase-update 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/V8VoidCallbackFunction2.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunction2.h b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunction2.h
new file mode 100644
index 0000000000000000000000000000000000000000..fbd321dc263460f407ebeb310c527c0d81f606e9
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunction2.h
@@ -0,0 +1,39 @@
+// 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 V8VoidCallbackFunction2_h
+#define V8VoidCallbackFunction2_h
+
+#include "bindings/core/v8/ScopedPersistent.h"
+#include "bindings/core/v8/ScriptValue.h"
+#include "core/CoreExport.h"
+#include "platform/heap/Handle.h"
+
+namespace blink {
+
+class ScriptState;
+
+class CORE_EXPORT V8VoidCallbackFunction2 final : public GarbageCollectedFinalized<V8VoidCallbackFunction2>{
+public:
+ static V8VoidCallbackFunction2* create(v8::Local<v8::Function> callback, ScriptState* scriptState)
+ {
+ return new V8VoidCallbackFunction2(callback, scriptState);
+ }
+
+ V8VoidCallbackFunction2(v8::Local<v8::Function>, ScriptState*);
+ ~V8VoidCallbackFunction2() = default;
+
+ DECLARE_VIRTUAL_TRACE();
+
+ bool call(ScriptValue thisValue);
+
+private:
+ ScopedPersistent<v8::Function> m_callback;
+ RefPtr<ScriptState> m_scriptState;
+};
+
+} // namespace blink
+#endif // V8VoidCallbackFunction2_h

Powered by Google App Engine
This is Rietveld 408576698