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

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

Issue 2454133002: [Bindings] Reformat template files for Interface (1/4) (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/V8TestIntegerIndexedPrimaryGlobal.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h
index 9b319d00cb296348cdab0541c9bcfcc83a51dc87..c648531dfbdfd7fbac95079fbf0bda01535f7be0 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h
@@ -20,43 +20,40 @@
namespace blink {
class V8TestIntegerIndexedPrimaryGlobal {
- STATIC_ONLY(V8TestIntegerIndexedPrimaryGlobal);
-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*, const DOMWrapperWorld&);
- CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplateForNamedPropertiesObject(v8::Isolate*, const DOMWrapperWorld&);
- static TestIntegerIndexedPrimaryGlobal* toImpl(v8::Local<v8::Object> object)
- {
- return toScriptWrappable(object)->toImpl<TestIntegerIndexedPrimaryGlobal>();
- }
- CORE_EXPORT static TestIntegerIndexedPrimaryGlobal* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
- CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
- template<typename VisitorDispatcher>
- static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
- {
- visitor->trace(scriptWrappable->toImpl<TestIntegerIndexedPrimaryGlobal>());
- }
- static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
- {
- visitor->traceWrappers(scriptWrappable->toImpl<TestIntegerIndexedPrimaryGlobal>());
- }
- 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>&);
- static void namedPropertyGetterCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Value>&);
- static void namedPropertySetterCustom(const AtomicString&, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
- static void namedPropertyQueryCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Integer>&);
- static void namedPropertyDeleterCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Boolean>&);
- static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::Array>&);
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
+ STATIC_ONLY(V8TestIntegerIndexedPrimaryGlobal);
+ 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*, const DOMWrapperWorld&);
+ CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplateForNamedPropertiesObject(v8::Isolate*, const DOMWrapperWorld&);
+ static TestIntegerIndexedPrimaryGlobal* toImpl(v8::Local<v8::Object> object) {
+ return toScriptWrappable(object)->toImpl<TestIntegerIndexedPrimaryGlobal>();
+ }
+ CORE_EXPORT static TestIntegerIndexedPrimaryGlobal* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
+ CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
+ template<typename VisitorDispatcher>
+ static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
+ visitor->trace(scriptWrappable->toImpl<TestIntegerIndexedPrimaryGlobal>());
+ }
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
+ visitor->traceWrappers(scriptWrappable->toImpl<TestIntegerIndexedPrimaryGlobal>());
+ }
+ 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>&);
+ static void namedPropertyGetterCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Value>&);
+ static void namedPropertySetterCustom(const AtomicString&, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
+ static void namedPropertyQueryCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Integer>&);
+ static void namedPropertyDeleterCustom(const AtomicString&, const v8::PropertyCallbackInfo<v8::Boolean>&);
+ static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::Array>&);
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
};
template <>
struct V8TypeOf<TestIntegerIndexedPrimaryGlobal> {
- typedef V8TestIntegerIndexedPrimaryGlobal Type;
+ typedef V8TestIntegerIndexedPrimaryGlobal Type;
};
-} // namespace blink
+} // namespace blink
-#endif // V8TestIntegerIndexedPrimaryGlobal_h
+#endif // V8TestIntegerIndexedPrimaryGlobal_h

Powered by Google App Engine
This is Rietveld 408576698