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

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

Issue 101403002: IDL compiler: Consolidate test IDL files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More Created 7 years 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/V8TestInterfaceDoNotCheckConstants.h
diff --git a/Source/bindings/tests/results/V8TestDoNotCheckConstantsInterface.h b/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
similarity index 68%
rename from Source/bindings/tests/results/V8TestDoNotCheckConstantsInterface.h
rename to Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
index 821d6724e8f3bfa12d7341a5b0422ef63edcf713..1ccdc885d3a15cd44d08dbedb46e0fa09c86d784 100644
--- a/Source/bindings/tests/results/V8TestDoNotCheckConstantsInterface.h
+++ b/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
@@ -30,130 +30,130 @@
// This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY!
-#ifndef V8TestDoNotCheckConstantsInterface_h
-#define V8TestDoNotCheckConstantsInterface_h
+#ifndef V8TestInterfaceDoNotCheckConstants_h
+#define V8TestInterfaceDoNotCheckConstants_h
-#include "bindings/tests/idls/TestDoNotCheckConstantsInterface.h"
+#include "bindings/tests/idls/TestInterfaceDoNotCheckConstants.h"
#include "bindings/v8/V8Binding.h"
#include "bindings/v8/V8DOMWrapper.h"
#include "bindings/v8/WrapperTypeInfo.h"
namespace WebCore {
-class V8TestDoNotCheckConstantsInterface {
+class V8TestInterfaceDoNotCheckConstants {
public:
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldType);
static bool hasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWorldType);
- static TestDoNotCheckConstantsInterface* toNative(v8::Handle<v8::Object> object)
+ static TestInterfaceDoNotCheckConstants* toNative(v8::Handle<v8::Object> object)
{
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
}
static void derefObject(void*);
static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
- static inline void* toInternalPointer(TestDoNotCheckConstantsInterface* impl)
+ static inline void* toInternalPointer(TestInterfaceDoNotCheckConstants* impl)
{
return impl;
}
- static inline TestDoNotCheckConstantsInterface* fromInternalPointer(void* object)
+ static inline TestInterfaceDoNotCheckConstants* fromInternalPointer(void* object)
{
- return static_cast<TestDoNotCheckConstantsInterface*>(object);
+ return static_cast<TestInterfaceDoNotCheckConstants*>(object);
}
- static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestDoNotCheckConstantsInterface*, v8::Isolate*) { }
+ static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceDoNotCheckConstants*, v8::Isolate*) { }
static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
private:
- friend v8::Handle<v8::Object> wrap(TestDoNotCheckConstantsInterface*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
- static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestDoNotCheckConstantsInterface>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
+ friend v8::Handle<v8::Object> wrap(TestInterfaceDoNotCheckConstants*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
+ static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterfaceDoNotCheckConstants>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
};
template<>
-class WrapperTypeTraits<TestDoNotCheckConstantsInterface > {
+class WrapperTypeTraits<TestInterfaceDoNotCheckConstants > {
public:
- static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestDoNotCheckConstantsInterface::wrapperTypeInfo; }
+ static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceDoNotCheckConstants::wrapperTypeInfo; }
};
-inline v8::Handle<v8::Object> wrap(TestDoNotCheckConstantsInterface* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+inline v8::Handle<v8::Object> wrap(TestInterfaceDoNotCheckConstants* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
ASSERT(impl);
- ASSERT(!DOMDataStore::containsWrapper<V8TestDoNotCheckConstantsInterface>(impl, isolate));
- return V8TestDoNotCheckConstantsInterface::createWrapper(impl, creationContext, isolate);
+ ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceDoNotCheckConstants>(impl, isolate));
+ return V8TestInterfaceDoNotCheckConstants::createWrapper(impl, creationContext, isolate);
}
-inline v8::Handle<v8::Value> toV8(TestDoNotCheckConstantsInterface* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+inline v8::Handle<v8::Value> toV8(TestInterfaceDoNotCheckConstants* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
if (UNLIKELY(!impl))
return v8::Null(isolate);
- v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper<V8TestDoNotCheckConstantsInterface>(impl, isolate);
+ v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper<V8TestInterfaceDoNotCheckConstants>(impl, isolate);
if (!wrapper.IsEmpty())
return wrapper;
return wrap(impl, creationContext, isolate);
}
template<typename CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDoNotCheckConstantsInterface* impl)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceDoNotCheckConstants* impl)
{
if (UNLIKELY(!impl)) {
v8SetReturnValueNull(callbackInfo);
return;
}
- if (DOMDataStore::setReturnValueFromWrapper<V8TestDoNotCheckConstantsInterface>(callbackInfo.GetReturnValue(), impl))
+ if (DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceDoNotCheckConstants>(callbackInfo.GetReturnValue(), impl))
return;
v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
v8SetReturnValue(callbackInfo, wrapper);
}
template<typename CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestDoNotCheckConstantsInterface* impl)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceDoNotCheckConstants* impl)
{
ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
if (UNLIKELY(!impl)) {
v8SetReturnValueNull(callbackInfo);
return;
}
- if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8TestDoNotCheckConstantsInterface>(callbackInfo.GetReturnValue(), impl))
+ if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8TestInterfaceDoNotCheckConstants>(callbackInfo.GetReturnValue(), impl))
return;
v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
v8SetReturnValue(callbackInfo, wrapper);
}
template<class CallbackInfo, class Wrappable>
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestDoNotCheckConstantsInterface* impl, Wrappable* wrappable)
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterfaceDoNotCheckConstants* impl, Wrappable* wrappable)
{
if (UNLIKELY(!impl)) {
v8SetReturnValueNull(callbackInfo);
return;
}
- if (DOMDataStore::setReturnValueFromWrapperFast<V8TestDoNotCheckConstantsInterface>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable))
+ if (DOMDataStore::setReturnValueFromWrapperFast<V8TestInterfaceDoNotCheckConstants>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable))
return;
v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
v8SetReturnValue(callbackInfo, wrapper);
}
-inline v8::Handle<v8::Value> toV8(PassRefPtr<TestDoNotCheckConstantsInterface > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+inline v8::Handle<v8::Value> toV8(PassRefPtr<TestInterfaceDoNotCheckConstants > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
return toV8(impl.get(), creationContext, isolate);
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestDoNotCheckConstantsInterface > impl)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceDoNotCheckConstants > impl)
{
v8SetReturnValue(callbackInfo, impl.get());
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestDoNotCheckConstantsInterface > impl)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceDoNotCheckConstants > impl)
{
v8SetReturnValueForMainWorld(callbackInfo, impl.get());
}
template<class CallbackInfo, class Wrappable>
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestDoNotCheckConstantsInterface > impl, Wrappable* wrappable)
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceDoNotCheckConstants > impl, Wrappable* wrappable)
{
v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
}
}
-#endif // V8TestDoNotCheckConstantsInterface_h
+#endif // V8TestInterfaceDoNotCheckConstants_h

Powered by Google App Engine
This is Rietveld 408576698