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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceDocument.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 "V8TestInterfaceDocument.h" 8 #include "V8TestInterfaceDocument.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
11 #include "bindings/core/v8/ScriptController.h" 11 #include "bindings/core/v8/ScriptController.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/core/v8/V8WindowShell.h" 15 #include "bindings/core/v8/V8WindowShell.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/LocalFrame.h" 18 #include "core/frame/LocalFrame.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(TestInterfaceDocument* object) 26 static void initializeScriptWrappableForInterface(TestInterfaceDocument* object)
27 { 27 {
28 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) 28 if (ScriptWrappable::wrapperCanBeStoredInObject(object))
29 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterfaceDocumen t::wrapperTypeInfo); 29 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterfaceDocumen t::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::TestInterfaceDocument * object) 36 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceDocument* object)
37 { 37 {
38 WebCore::initializeScriptWrappableForInterface(object); 38 blink::initializeScriptWrappableForInterface(object);
39 } 39 }
40 40
41 namespace WebCore { 41 namespace blink {
42 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::derefObje ct, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument::insta llPerContextEnabledMethods, &V8Document::wrapperTypeInfo, WrapperTypeObjectProto type, WillBeGarbageCollectedObject }; 42 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::derefObje ct, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument::insta llPerContextEnabledMethods, &V8Document::wrapperTypeInfo, WrapperTypeObjectProto type, WillBeGarbageCollectedObject };
43 43
44 namespace TestInterfaceDocumentV8Internal { 44 namespace TestInterfaceDocumentV8Internal {
45 45
46 template <typename T> void V8_USE(T) { } 46 template <typename T> void V8_USE(T) { }
47 47
48 } // namespace TestInterfaceDocumentV8Internal 48 } // namespace TestInterfaceDocumentV8Internal
49 49
50 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate) 50 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate)
51 { 51 {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 fromInternalPointer(object)->deref(); 137 fromInternalPointer(object)->deref();
138 #endif // !ENABLE(OILPAN) 138 #endif // !ENABLE(OILPAN)
139 } 139 }
140 140
141 template<> 141 template<>
142 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate) 142 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate)
143 { 143 {
144 return toV8(impl, creationContext, isolate); 144 return toV8(impl, creationContext, isolate);
145 } 145 }
146 146
147 } // namespace WebCore 147 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceDocument.h ('k') | Source/bindings/tests/results/V8TestInterfaceEmpty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698