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

Unified Diff: Source/bindings/tests/results/V8TestObject.h

Issue 213543004: Consolidate IDL test cases (15%: 34 => 29) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 9 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: Source/bindings/tests/results/V8TestObject.h
diff --git a/Source/bindings/tests/results/V8TestObject.h b/Source/bindings/tests/results/V8TestObject.h
index 674c878e81038399cb86b2bcab8cd85a4eabd9a5..97ab5d4c25f8a3706dad6b3bd3127d3ffcb84984 100644
--- a/Source/bindings/tests/results/V8TestObject.h
+++ b/Source/bindings/tests/results/V8TestObject.h
@@ -7,7 +7,6 @@
#ifndef V8TestObject_h
#define V8TestObject_h
-#include "V8EventTarget.h"
#include "bindings/tests/idls/TestObject.h"
#include "bindings/v8/V8Binding.h"
#include "bindings/v8/V8DOMWrapper.h"
@@ -28,22 +27,34 @@ public:
static TestObject* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static const WrapperTypeInfo wrapperTypeInfo;
static void derefObject(void*);
- static EventTarget* toEventTarget(v8::Handle<v8::Object>);
- static void customMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
- static void customMethodWithArgsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
- static void classMethod2MethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
- static void customAttrAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
- static void customAttrAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
- static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
+ static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
+#if ENABLE(CONDITION)
+ static void conditionalConditionCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
+#endif // ENABLE(CONDITION)
+ static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+ static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
+ static void customGetterLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+ static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+ static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
+#if ENABLE(CONDITION)
+ static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+#endif // ENABLE(CONDITION)
+#if ENABLE(CONDITION)
+ static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
+#endif // ENABLE(CONDITION)
+ static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+ static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
+ static void customGetterImplementedAsLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&);
+ static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
static inline void* toInternalPointer(TestObject* impl)
{
- return V8EventTarget::toInternalPointer(impl);
+ return impl;
}
static inline TestObject* fromInternalPointer(void* object)
{
- return static_cast<TestObject*>(V8EventTarget::fromInternalPointer(object));
+ return static_cast<TestObject*>(object);
}
static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestObject*, v8::Isolate*);
static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*);
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfacePython3.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698