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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceConstructor2.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 "V8TestInterfaceConstructor2.h" 8 #include "V8TestInterfaceConstructor2.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
11 #include "bindings/core/v8/ExceptionState.h" 11 #include "bindings/core/v8/ExceptionState.h"
12 #include "bindings/core/v8/V8DOMConfiguration.h" 12 #include "bindings/core/v8/V8DOMConfiguration.h"
13 #include "bindings/core/v8/V8HiddenValue.h" 13 #include "bindings/core/v8/V8HiddenValue.h"
14 #include "bindings/core/v8/V8ObjectConstructor.h" 14 #include "bindings/core/v8/V8ObjectConstructor.h"
15 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" 15 #include "bindings/tests/v8/V8TestInterfaceEmpty.h"
16 #include "core/dom/ContextFeatures.h" 16 #include "core/dom/ContextFeatures.h"
17 #include "core/dom/Document.h" 17 #include "core/dom/Document.h"
18 #include "core/frame/LocalDOMWindow.h" 18 #include "core/frame/LocalDOMWindow.h"
19 #include "platform/RuntimeEnabledFeatures.h" 19 #include "platform/RuntimeEnabledFeatures.h"
20 #include "platform/TraceEvent.h" 20 #include "platform/TraceEvent.h"
21 #include "wtf/GetPtr.h" 21 #include "wtf/GetPtr.h"
22 #include "wtf/RefPtr.h" 22 #include "wtf/RefPtr.h"
23 23
24 namespace WebCore { 24 namespace blink {
25 25
26 static void initializeScriptWrappableForInterface(TestInterfaceConstructor2* obj ect) 26 static void initializeScriptWrappableForInterface(TestInterfaceConstructor2* obj ect)
27 { 27 {
28 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) 28 if (ScriptWrappable::wrapperCanBeStoredInObject(object))
29 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterfaceConstru ctor2::wrapperTypeInfo); 29 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterfaceConstru ctor2::wrapperTypeInfo);
30 else 30 else
31 ASSERT_NOT_REACHED(); 31 ASSERT_NOT_REACHED();
32 } 32 }
33 33
34 } // namespace WebCore 34 } // namespace blink
35 35
36 void webCoreInitializeScriptWrappableForInterface(WebCore::TestInterfaceConstruc tor2* object) 36 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo r2* object)
37 { 37 {
38 WebCore::initializeScriptWrappableForInterface(object); 38 blink::initializeScriptWrappableForInterface(object);
39 } 39 }
40 40
41 namespace WebCore { 41 namespace blink {
42 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor 2::derefObject, 0, 0, 0, V8TestInterfaceConstructor2::installPerContextEnabledMe thods, 0, WrapperTypeObjectPrototype, RefCountedObject }; 42 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor 2::derefObject, 0, 0, 0, V8TestInterfaceConstructor2::installPerContextEnabledMe thods, 0, WrapperTypeObjectPrototype, RefCountedObject };
43 43
44 namespace TestInterfaceConstructor2V8Internal { 44 namespace TestInterfaceConstructor2V8Internal {
45 45
46 template <typename T> void V8_USE(T) { } 46 template <typename T> void V8_USE(T) { }
47 47
48 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) 48 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info)
49 { 49 {
50 V8StringResource<> stringArg; 50 V8StringResource<> stringArg;
51 { 51 {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 { 257 {
258 fromInternalPointer(object)->deref(); 258 fromInternalPointer(object)->deref();
259 } 259 }
260 260
261 template<> 261 template<>
262 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 262 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
263 { 263 {
264 return toV8(impl, creationContext, isolate); 264 return toV8(impl, creationContext, isolate);
265 } 265 }
266 266
267 } // namespace WebCore 267 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698