| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #include "core/html/HTMLTableRowsCollection.h" | 63 #include "core/html/HTMLTableRowsCollection.h" |
| 64 #include "core/inspector/ScriptArguments.h" | 64 #include "core/inspector/ScriptArguments.h" |
| 65 #include "platform/RuntimeEnabledFeatures.h" | 65 #include "platform/RuntimeEnabledFeatures.h" |
| 66 #include "platform/ScriptForbiddenScope.h" | 66 #include "platform/ScriptForbiddenScope.h" |
| 67 #include "platform/TraceEvent.h" | 67 #include "platform/TraceEvent.h" |
| 68 #include "wtf/GetPtr.h" | 68 #include "wtf/GetPtr.h" |
| 69 #include "wtf/RefPtr.h" | 69 #include "wtf/RefPtr.h" |
| 70 | 70 |
| 71 namespace blink { | 71 namespace blink { |
| 72 | 72 |
| 73 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T
estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te
stObject::trace, 0, 0, 0, V8TestObject::installConditionallyEnabledMethods, V8Te
stObject::installConditionallyEnabledProperties, 0, WrapperTypeInfo::WrapperType
ObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Independent, W
rapperTypeInfo::RefCountedObject }; | 73 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 }; |
| 74 | 74 |
| 75 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. | 75 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. |
| 76 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 76 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 77 // bindings/core/v8/ScriptWrappable.h. | 77 // bindings/core/v8/ScriptWrappable.h. |
| 78 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; | 78 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; |
| 79 | 79 |
| 80 namespace TestObjectV8Internal { | 80 namespace TestObjectV8Internal { |
| 81 | 81 |
| 82 static void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, con
st v8::PropertyCallbackInfo<v8::Value>& info) | 82 static void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, con
st v8::PropertyCallbackInfo<v8::Value>& info) |
| 83 { | 83 { |
| (...skipping 11457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11541 return false; | 11541 return false; |
| 11542 | 11542 |
| 11543 ScriptState::Scope scope(scriptState); | 11543 ScriptState::Scope scope(scriptState); |
| 11544 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); | 11544 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); |
| 11545 | 11545 |
| 11546 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 11546 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
| 11547 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 11547 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
| 11548 } | 11548 } |
| 11549 | 11549 |
| 11550 } // namespace blink | 11550 } // namespace blink |
| OLD | NEW |