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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface.h" 9 #include "V8TestInterface.h"
10 10
(...skipping 11 matching lines...) Expand all
22 #include "bindings/tests/v8/V8Node.h" 22 #include "bindings/tests/v8/V8Node.h"
23 #include "bindings/tests/v8/V8TestInterface.h" 23 #include "bindings/tests/v8/V8TestInterface.h"
24 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" 24 #include "bindings/tests/v8/V8TestInterfaceEmpty.h"
25 #include "core/dom/ContextFeatures.h" 25 #include "core/dom/ContextFeatures.h"
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "platform/RuntimeEnabledFeatures.h" 27 #include "platform/RuntimeEnabledFeatures.h"
28 #include "platform/TraceEvent.h" 28 #include "platform/TraceEvent.h"
29 #include "wtf/GetPtr.h" 29 #include "wtf/GetPtr.h"
30 #include "wtf/RefPtr.h" 30 #include "wtf/RefPtr.h"
31 31
32 namespace WebCore { 32 namespace blink {
33 33
34 static void initializeScriptWrappableForInterface(TestInterfaceImplementation* o bject) 34 static void initializeScriptWrappableForInterface(TestInterfaceImplementation* o bject)
35 { 35 {
36 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) 36 if (ScriptWrappable::wrapperCanBeStoredInObject(object))
37 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface::wrapp erTypeInfo); 37 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface::wrapp erTypeInfo);
38 else 38 else
39 ASSERT_NOT_REACHED(); 39 ASSERT_NOT_REACHED();
40 } 40 }
41 41
42 } // namespace WebCore 42 } // namespace blink
43 43
44 void webCoreInitializeScriptWrappableForInterface(WebCore::TestInterfaceImplemen tation* object) 44 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceImplementa tion* object)
45 { 45 {
46 WebCore::initializeScriptWrappableForInterface(object); 46 blink::initializeScriptWrappableForInterface(object);
47 } 47 }
48 48
49 namespace WebCore { 49 namespace blink {
50 const WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterface::domTemplate, V8TestInterface::derefObject, V8TestInterface::toA ctiveDOMObject, 0, V8TestInterface::visitDOMWrapper, V8TestInterface::installPer ContextEnabledMethods, &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeObject Prototype, RefCountedObject }; 50 const WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterface::domTemplate, V8TestInterface::derefObject, V8TestInterface::toA ctiveDOMObject, 0, V8TestInterface::visitDOMWrapper, V8TestInterface::installPer ContextEnabledMethods, &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeObject Prototype, RefCountedObject };
51 51
52 namespace TestInterfaceImplementationV8Internal { 52 namespace TestInterfaceImplementationV8Internal {
53 53
54 template <typename T> void V8_USE(T) { } 54 template <typename T> void V8_USE(T) { }
55 55
56 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info) 56 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info)
57 { 57 {
58 v8::Handle<v8::Object> holder = info.Holder(); 58 v8::Handle<v8::Object> holder = info.Holder();
59 TestInterfaceImplementation* impl = V8TestInterface::toNative(holder); 59 TestInterfaceImplementation* impl = V8TestInterface::toNative(holder);
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1545 { 1545 {
1546 fromInternalPointer(object)->deref(); 1546 fromInternalPointer(object)->deref();
1547 } 1547 }
1548 1548
1549 template<> 1549 template<>
1550 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate) 1550 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate)
1551 { 1551 {
1552 return toV8(impl, creationContext, isolate); 1552 return toV8(impl, creationContext, isolate);
1553 } 1553 }
1554 1554
1555 } // namespace WebCore 1555 } // namespace blink
1556 #endif // ENABLE(CONDITION) 1556 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.h ('k') | Source/bindings/tests/results/V8TestInterface2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698