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

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

Issue 1383093002: [bindings] support legacyiterable<> WebIDL syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/V8TestInterface4.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface4.h
similarity index 77%
copy from third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h
copy to third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface4.h
index e76ea1a881cab99f661e31226a62989c32191907..f6b2248037606ea0fa91948557613a3b03f46209 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface4.h
@@ -4,30 +4,31 @@
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
-#ifndef V8TestInterface3_h
-#define V8TestInterface3_h
+#ifndef V8TestInterface4_h
+#define V8TestInterface4_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ToV8.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8DOMWrapper.h"
#include "bindings/core/v8/WrapperTypeInfo.h"
+#include "bindings/tests/idls/core/TestInterface4.h"
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
namespace blink {
-class V8TestInterface3 {
- STATIC_ONLY(V8TestInterface3);
+class V8TestInterface4 {
+ STATIC_ONLY(V8TestInterface4);
public:
CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*);
- static TestInterface3* toImpl(v8::Local<v8::Object> object)
+ static TestInterface4* toImpl(v8::Local<v8::Object> object)
{
- return toScriptWrappable(object)->toImpl<TestInterface3>();
+ return toScriptWrappable(object)->toImpl<TestInterface4>();
}
- CORE_EXPORT static TestInterface3* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
+ CORE_EXPORT static TestInterface4* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
static void refObject(ScriptWrappable*);
static void derefObject(ScriptWrappable*);
@@ -35,7 +36,6 @@ public:
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{
}
- static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&);
static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallbackInfo<v8::Value>&);
static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbackInfo<v8::Boolean>&);
@@ -46,14 +46,14 @@ public:
static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::Array>&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8::Isolate*) { }
- static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object> prototypeObject, v8::Local<v8::FunctionTemplate> interfaceTemplate) { }
+ static void preparePrototypeAndInterfaceObject(v8::Isolate*, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate) { }
};
template <>
-struct V8TypeOf<TestInterface3> {
- typedef V8TestInterface3 Type;
+struct V8TypeOf<TestInterface4> {
+ typedef V8TestInterface4 Type;
};
} // namespace blink
-#endif // V8TestInterface3_h
+#endif // V8TestInterface4_h

Powered by Google App Engine
This is Rietveld 408576698