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

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

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/frame/UseCounter.h" 58 #include "core/frame/UseCounter.h"
59 #include "core/html/HTMLCollection.h" 59 #include "core/html/HTMLCollection.h"
60 #include "core/html/HTMLFormControlsCollection.h" 60 #include "core/html/HTMLFormControlsCollection.h"
61 #include "core/html/HTMLTableRowsCollection.h" 61 #include "core/html/HTMLTableRowsCollection.h"
62 #include "core/inspector/ScriptArguments.h" 62 #include "core/inspector/ScriptArguments.h"
63 #include "platform/RuntimeEnabledFeatures.h" 63 #include "platform/RuntimeEnabledFeatures.h"
64 #include "platform/TraceEvent.h" 64 #include "platform/TraceEvent.h"
65 #include "wtf/GetPtr.h" 65 #include "wtf/GetPtr.h"
66 #include "wtf/RefPtr.h" 66 #include "wtf/RefPtr.h"
67 67
68 namespace WebCore { 68 namespace blink {
69 69
70 static void initializeScriptWrappableForInterface(TestObject* object) 70 static void initializeScriptWrappableForInterface(TestObject* object)
71 { 71 {
72 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) 72 if (ScriptWrappable::wrapperCanBeStoredInObject(object))
73 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestObject::wrapperT ypeInfo); 73 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestObject::wrapperT ypeInfo);
74 else 74 else
75 ASSERT_NOT_REACHED(); 75 ASSERT_NOT_REACHED();
76 } 76 }
77 77
78 } // namespace WebCore 78 } // namespace blink
79 79
80 void webCoreInitializeScriptWrappableForInterface(WebCore::TestObject* object) 80 void webCoreInitializeScriptWrappableForInterface(blink::TestObject* object)
81 { 81 {
82 WebCore::initializeScriptWrappableForInterface(object); 82 blink::initializeScriptWrappableForInterface(object);
83 } 83 }
84 84
85 namespace WebCore { 85 namespace blink {
86 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T estObject::domTemplate, V8TestObject::derefObject, 0, 0, 0, V8TestObject::instal lPerContextEnabledMethods, 0, WrapperTypeObjectPrototype, RefCountedObject }; 86 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T estObject::domTemplate, V8TestObject::derefObject, 0, 0, 0, V8TestObject::instal lPerContextEnabledMethods, 0, WrapperTypeObjectPrototype, RefCountedObject };
87 87
88 namespace TestObjectV8Internal { 88 namespace TestObjectV8Internal {
89 89
90 template <typename T> void V8_USE(T) { } 90 template <typename T> void V8_USE(T) { }
91 91
92 static void stringifierAttributeAttributeGetter(const v8::PropertyCallbackInfo<v 8::Value>& info) 92 static void stringifierAttributeAttributeGetter(const v8::PropertyCallbackInfo<v 8::Value>& info)
93 { 93 {
94 v8::Handle<v8::Object> holder = info.Holder(); 94 v8::Handle<v8::Object> holder = info.Holder();
95 TestObject* impl = V8TestObject::toNative(holder); 95 TestObject* impl = V8TestObject::toNative(holder);
(...skipping 10920 matching lines...) Expand 10 before | Expand all | Expand 10 after
11016 { 11016 {
11017 fromInternalPointer(object)->deref(); 11017 fromInternalPointer(object)->deref();
11018 } 11018 }
11019 11019
11020 template<> 11020 template<>
11021 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 11021 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
11022 { 11022 {
11023 return toV8(impl, creationContext, isolate); 11023 return toV8(impl, creationContext, isolate);
11024 } 11024 }
11025 11025
11026 } // namespace WebCore 11026 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.h ('k') | Source/bindings/tests/results/V8TestSpecialOperations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698