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

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

Issue 2383613003: Remove 'V8' prefix from generated callback function classes (Closed)
Patch Set: rebase Created 4 years, 2 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/V8VoidCallbackFunctionInterfaceArg.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
deleted file mode 100644
index a99fbd1950cb8015c7b9ddc82e5c963da29a3275..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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!
-
-// clang-format off
-
-#ifndef V8VoidCallbackFunctionInterfaceArg_h
-#define V8VoidCallbackFunctionInterfaceArg_h
-
-#include "bindings/core/v8/ExceptionState.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 HTMLDivElement;
-
-class CORE_EXPORT V8VoidCallbackFunctionInterfaceArg final : public GarbageCollectedFinalized<V8VoidCallbackFunctionInterfaceArg> {
-public:
- static V8VoidCallbackFunctionInterfaceArg* create(v8::Isolate* isolate, v8::Local<v8::Function> callback)
- {
- return new V8VoidCallbackFunctionInterfaceArg(isolate, callback);
- }
-
- ~V8VoidCallbackFunctionInterfaceArg() = default;
-
- DECLARE_TRACE();
-
- bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, ExceptionState& exceptionState, HTMLDivElement* divElement);
-
- v8::Local<v8::Function> v8Value(v8::Isolate* isolate)
- {
- return m_callback.newLocal(isolate);
- }
-
- void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object>& wrapper)
- {
- DCHECK(!m_callback.isEmpty());
- m_callback.setReference(wrapper, isolate);
- }
-
-private:
- V8VoidCallbackFunctionInterfaceArg(v8::Isolate* isolate, v8::Local<v8::Function>);
- ScopedPersistent<v8::Function> m_callback;
-};
-
-} // namespace blink
-
-#endif // V8VoidCallbackFunctionInterfaceArg_h

Powered by Google App Engine
This is Rietveld 408576698