| 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
|
|
|