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 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestSpecialOperationsNotEnumerable.h" | 8 #include "V8TestSpecialOperationsNotEnumerable.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 v8::IndexedPropertyHandlerConfiguration config(TestSpecialOperationsNotE
numerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0); | 81 v8::IndexedPropertyHandlerConfiguration config(TestSpecialOperationsNotE
numerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0); |
82 functionTemplate->InstanceTemplate()->SetHandler(config); | 82 functionTemplate->InstanceTemplate()->SetHandler(config); |
83 } | 83 } |
84 { | 84 { |
85 v8::NamedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnu
merableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0); | 85 v8::NamedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnu
merableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0); |
86 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co
nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kOnlyInterceptStrings))
; | 86 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co
nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kOnlyInterceptStrings))
; |
87 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co
nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kNonMasking)); | 87 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co
nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kNonMasking)); |
88 functionTemplate->InstanceTemplate()->SetHandler(config); | 88 functionTemplate->InstanceTemplate()->SetHandler(config); |
89 } | 89 } |
90 | 90 |
| 91 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i
solate, "TestSpecialOperationsNotEnumerable")); |
| 92 |
91 // Custom toString template | 93 // Custom toString template |
92 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 94 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
93 } | 95 } |
94 | 96 |
95 v8::Local<v8::FunctionTemplate> V8TestSpecialOperationsNotEnumerable::domTemplat
e(v8::Isolate* isolate) | 97 v8::Local<v8::FunctionTemplate> V8TestSpecialOperationsNotEnumerable::domTemplat
e(v8::Isolate* isolate) |
96 { | 98 { |
97 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestSpecialOperationsNotEnumerableTemplate); | 99 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestSpecialOperationsNotEnumerableTemplate); |
98 } | 100 } |
99 | 101 |
100 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Local<v8::Value> v8Va
lue, v8::Isolate* isolate) | 102 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Local<v8::Value> v8Va
lue, v8::Isolate* isolate) |
(...skipping 15 matching lines...) Expand all Loading... |
116 { | 118 { |
117 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); | 119 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); |
118 } | 120 } |
119 | 121 |
120 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr
appable) | 122 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappable* scriptWr
appable) |
121 { | 123 { |
122 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); | 124 scriptWrappable->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); |
123 } | 125 } |
124 | 126 |
125 } // namespace blink | 127 } // namespace blink |
OLD | NEW |