Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "core/html/HTMLTableRowsCollection.h" 62 #include "core/html/HTMLTableRowsCollection.h"
63 #include "core/inspector/ScriptArguments.h" 63 #include "core/inspector/ScriptArguments.h"
64 #include "platform/RuntimeEnabledFeatures.h" 64 #include "platform/RuntimeEnabledFeatures.h"
65 #include "platform/ScriptForbiddenScope.h" 65 #include "platform/ScriptForbiddenScope.h"
66 #include "platform/TraceEvent.h" 66 #include "platform/TraceEvent.h"
67 #include "wtf/GetPtr.h" 67 #include "wtf/GetPtr.h"
68 #include "wtf/RefPtr.h" 68 #include "wtf/RefPtr.h"
69 69
70 namespace blink { 70 namespace blink {
71 71
72 static void initializeScriptWrappableForInterface(TestObject* impl)
73 {
74 impl->setTypeInfo(&V8TestObject::wrapperTypeInfo);
75 }
76
77 } // namespace blink
78
79 void webCoreInitializeScriptWrappableForInterface(blink::TestObject* object)
80 {
81 blink::initializeScriptWrappableForInterface(object);
82 }
83
84 namespace blink {
85
86 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te stObject::createPersistentHandle, 0, 0, 0, V8TestObject::installConditionallyEna bledMethods, V8TestObject::installConditionallyEnabledProperties, 0, WrapperType Info::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInf o::Independent, WrapperTypeInfo::RefCountedObject }; 72 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te stObject::createPersistentHandle, 0, 0, 0, V8TestObject::installConditionallyEna bledMethods, V8TestObject::installConditionallyEnabledProperties, 0, WrapperType Info::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInf o::Independent, WrapperTypeInfo::RefCountedObject };
87 73
88 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h . 74 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h .
89 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 75 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
90 // bindings/core/v8/ScriptWrappable.h. 76 // bindings/core/v8/ScriptWrappable.h.
91 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType Info; 77 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType Info;
92 78
93 namespace TestObjectV8Internal { 79 namespace TestObjectV8Internal {
94 80
95 template <typename T> void V8_USE(T) { } 81 template <typename T> void V8_USE(T) { }
(...skipping 11292 matching lines...) Expand 10 before | Expand all | Expand 10 after
11388 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); 11374 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue));
11389 if (block.HasCaught()) { 11375 if (block.HasCaught()) {
11390 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block); 11376 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block);
11391 block.ReThrow(); 11377 block.ReThrow();
11392 return false; 11378 return false;
11393 } 11379 }
11394 return true; 11380 return true;
11395 } 11381 }
11396 11382
11397 } // namespace blink 11383 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestNode.cpp ('k') | Source/bindings/tests/results/V8TestSpecialOperations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698