| 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 11 matching lines...) Expand all Loading... |
| 22 #include "platform/heap/Handle.h" | 22 #include "platform/heap/Handle.h" |
| 23 | 23 |
| 24 namespace blink { | 24 namespace blink { |
| 25 | 25 |
| 26 class V8ArrayBufferView { | 26 class V8ArrayBufferView { |
| 27 STATIC_ONLY(V8ArrayBufferView); | 27 STATIC_ONLY(V8ArrayBufferView); |
| 28 public: | 28 public: |
| 29 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object); | 29 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object); |
| 30 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); | 30 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); |
| 31 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 31 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| 32 template<typename VisitorDispatcher> | 32 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { |
| 33 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{ | |
| 34 visitor->trace(scriptWrappable->toImpl<TestArrayBufferView>()); | 33 visitor->trace(scriptWrappable->toImpl<TestArrayBufferView>()); |
| 35 } | 34 } |
| 36 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { | 35 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { |
| 37 visitor->traceWrappers(scriptWrappable->toImpl<TestArrayBufferView>()); | 36 visitor->traceWrappers(scriptWrappable->toImpl<TestArrayBufferView>()); |
| 38 } | 37 } |
| 39 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; | 38 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
| 40 }; | 39 }; |
| 41 | 40 |
| 42 template <> | 41 template <> |
| 43 struct V8TypeOf<TestArrayBufferView> { | 42 struct V8TypeOf<TestArrayBufferView> { |
| 44 typedef V8ArrayBufferView Type; | 43 typedef V8ArrayBufferView Type; |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace blink | 46 } // namespace blink |
| 48 | 47 |
| 49 #endif // V8ArrayBufferView_h | 48 #endif // V8ArrayBufferView_h |
| OLD | NEW |