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 "V8TestObject.h" | 8 #include "V8TestObject.h" |
9 | 9 |
10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "core/html/HTMLTableRowsCollection.h" | 65 #include "core/html/HTMLTableRowsCollection.h" |
66 #include "core/inspector/ScriptArguments.h" | 66 #include "core/inspector/ScriptArguments.h" |
67 #include "platform/RuntimeEnabledFeatures.h" | 67 #include "platform/RuntimeEnabledFeatures.h" |
68 #include "platform/ScriptForbiddenScope.h" | 68 #include "platform/ScriptForbiddenScope.h" |
69 #include "platform/TraceEvent.h" | 69 #include "platform/TraceEvent.h" |
70 #include "wtf/GetPtr.h" | 70 #include "wtf/GetPtr.h" |
71 #include "wtf/RefPtr.h" | 71 #include "wtf/RefPtr.h" |
72 | 72 |
73 namespace blink { | 73 namespace blink { |
74 | 74 |
75 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T
estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te
stObject::trace, 0, 0, V8TestObject::installConditionallyEnabledMethods, V8TestO
bject::installConditionallyEnabledProperties, 0, WrapperTypeInfo::WrapperTypeObj
ectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEve
ntTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; | 75 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T
estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te
stObject::trace, 0, 0, V8TestObject::installConditionallyEnabledMethods, V8TestO
bject::installConditionallyEnabledProperties, "TestObject", 0, WrapperTypeInfo::
WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Not
InheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCounte
dObject }; |
76 | 76 |
77 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. | 77 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. |
78 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 78 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
79 // bindings/core/v8/ScriptWrappable.h. | 79 // bindings/core/v8/ScriptWrappable.h. |
80 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; | 80 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; |
81 | 81 |
82 namespace TestObjectV8Internal { | 82 namespace TestObjectV8Internal { |
83 | 83 |
84 static void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, con
st v8::PropertyCallbackInfo<v8::Value>& info) | 84 static void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, con
st v8::PropertyCallbackInfo<v8::Value>& info) |
85 { | 85 { |
(...skipping 13065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13151 return false; | 13151 return false; |
13152 | 13152 |
13153 ScriptState::Scope scope(scriptState); | 13153 ScriptState::Scope scope(scriptState); |
13154 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 13154 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13155 | 13155 |
13156 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 13156 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
13157 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 13157 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
13158 } | 13158 } |
13159 | 13159 |
13160 } // namespace blink | 13160 } // namespace blink |
OLD | NEW |