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. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #ifndef V8ArrayBufferView_h | 7 #ifndef V8ArrayBufferView_h |
8 #define V8ArrayBufferView_h | 8 #define V8ArrayBufferView_h |
9 | 9 |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 public: | 23 public: |
24 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 24 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
25 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object)
; | 25 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object)
; |
26 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8
::Local<v8::Value>); | 26 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8
::Local<v8::Value>); |
27 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 27 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
28 static void refObject(ScriptWrappable*); | 28 static void refObject(ScriptWrappable*); |
29 static void derefObject(ScriptWrappable*); | 29 static void derefObject(ScriptWrappable*); |
30 template<typename VisitorDispatcher> | 30 template<typename VisitorDispatcher> |
31 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 31 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
32 { | 32 { |
33 visitor->trace(scriptWrappable->toImpl<TestArrayBufferView>()); | |
34 } | 33 } |
35 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 34 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
36 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } | 35 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } |
37 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } | 36 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } |
38 }; | 37 }; |
39 | 38 |
40 template <> | 39 template <> |
41 struct V8TypeOf<TestArrayBufferView> { | 40 struct V8TypeOf<TestArrayBufferView> { |
42 typedef V8ArrayBufferView Type; | 41 typedef V8ArrayBufferView Type; |
43 }; | 42 }; |
44 | 43 |
45 } // namespace blink | 44 } // namespace blink |
46 | 45 |
47 #endif // V8ArrayBufferView_h | 46 #endif // V8ArrayBufferView_h |
OLD | NEW |