| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
| 7 | 7 |
| 8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 static const int internalFieldCount = kV8DefaultWrapperInternalFieldCount + 1; | 48 static const int internalFieldCount = kV8DefaultWrapperInternalFieldCount + 1; |
| 49 | 49 |
| 50 // Callback functions | 50 // Callback functions |
| 51 | 51 |
| 52 CORE_EXPORT static void attr1AttributeGetterCallback(const v8::FunctionCallbac
kInfo<v8::Value>&); | 52 CORE_EXPORT static void attr1AttributeGetterCallback(const v8::FunctionCallbac
kInfo<v8::Value>&); |
| 53 CORE_EXPORT static void attr1AttributeSetterCallback(const v8::FunctionCallbac
kInfo<v8::Value>&); | 53 CORE_EXPORT static void attr1AttributeSetterCallback(const v8::FunctionCallbac
kInfo<v8::Value>&); |
| 54 CORE_EXPORT static void sizeAttributeGetterCallback(const v8::FunctionCallback
Info<v8::Value>&); | 54 CORE_EXPORT static void sizeAttributeGetterCallback(const v8::FunctionCallback
Info<v8::Value>&); |
| 55 | 55 |
| 56 CORE_EXPORT static void funcMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>&); | 56 CORE_EXPORT static void funcMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>&); |
| 57 CORE_EXPORT static void keysMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>&); | 57 CORE_EXPORT static void keysMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>&); |
| 58 CORE_EXPORT static void valuesMethodCallback(const v8::FunctionCallbackInfo<v8
::Value>&); | |
| 59 CORE_EXPORT static void entriesMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>&); | 58 CORE_EXPORT static void entriesMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>&); |
| 60 CORE_EXPORT static void forEachMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>&); | 59 CORE_EXPORT static void forEachMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>&); |
| 61 CORE_EXPORT static void hasMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); | 60 CORE_EXPORT static void hasMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 62 CORE_EXPORT static void addMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); | 61 CORE_EXPORT static void addMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 63 CORE_EXPORT static void clearMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>&); | 62 CORE_EXPORT static void clearMethodCallback(const v8::FunctionCallbackInfo<v8:
:Value>&); |
| 64 CORE_EXPORT static void deleteMethodCallback(const v8::FunctionCallbackInfo<v8
::Value>&); | 63 CORE_EXPORT static void deleteMethodCallback(const v8::FunctionCallbackInfo<v8
::Value>&); |
| 65 CORE_EXPORT static void iteratorMethodCallback(const v8::FunctionCallbackInfo<
v8::Value>&); | 64 CORE_EXPORT static void iteratorMethodCallback(const v8::FunctionCallbackInfo<
v8::Value>&); |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 template <> | 67 template <> |
| 69 struct NativeValueTraits<TestInterfaceGarbageCollected> : public NativeValueTrai
tsBase<TestInterfaceGarbageCollected> { | 68 struct NativeValueTraits<TestInterfaceGarbageCollected> : public NativeValueTrai
tsBase<TestInterfaceGarbageCollected> { |
| 70 CORE_EXPORT static TestInterfaceGarbageCollected* NativeValue(v8::Isolate*, v8
::Local<v8::Value>, ExceptionState&); | 69 CORE_EXPORT static TestInterfaceGarbageCollected* NativeValue(v8::Isolate*, v8
::Local<v8::Value>, ExceptionState&); |
| 71 }; | 70 }; |
| 72 | 71 |
| 73 template <> | 72 template <> |
| 74 struct V8TypeOf<TestInterfaceGarbageCollected> { | 73 struct V8TypeOf<TestInterfaceGarbageCollected> { |
| 75 typedef V8TestInterfaceGarbageCollected Type; | 74 typedef V8TestInterfaceGarbageCollected Type; |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 } // namespace blink | 77 } // namespace blink |
| 79 | 78 |
| 80 #endif // V8TestInterfaceGarbageCollected_h | 79 #endif // V8TestInterfaceGarbageCollected_h |
| OLD | NEW |