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

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

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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 "HTMLNames.h" 10 #include "HTMLNames.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "bindings/v8/V8ObjectConstructor.h" 45 #include "bindings/v8/V8ObjectConstructor.h"
46 #include "bindings/v8/custom/V8ArrayBufferCustom.h" 46 #include "bindings/v8/custom/V8ArrayBufferCustom.h"
47 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" 47 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
48 #include "bindings/v8/custom/V8Float32ArrayCustom.h" 48 #include "bindings/v8/custom/V8Float32ArrayCustom.h"
49 #include "bindings/v8/custom/V8Int32ArrayCustom.h" 49 #include "bindings/v8/custom/V8Int32ArrayCustom.h"
50 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" 50 #include "bindings/v8/custom/V8Uint8ArrayCustom.h"
51 #include "core/css/MediaQueryListListener.h" 51 #include "core/css/MediaQueryListListener.h"
52 #include "core/dom/ContextFeatures.h" 52 #include "core/dom/ContextFeatures.h"
53 #include "core/dom/Document.h" 53 #include "core/dom/Document.h"
54 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 54 #include "core/dom/custom/CustomElementCallbackDispatcher.h"
55 #include "core/frame/DOMWindow.h" 55 #include "core/frame/LocalDOMWindow.h"
56 #include "core/frame/UseCounter.h" 56 #include "core/frame/UseCounter.h"
57 #include "core/inspector/ScriptArguments.h" 57 #include "core/inspector/ScriptArguments.h"
58 #include "platform/TraceEvent.h" 58 #include "platform/TraceEvent.h"
59 #include "wtf/GetPtr.h" 59 #include "wtf/GetPtr.h"
60 #include "wtf/RefPtr.h" 60 #include "wtf/RefPtr.h"
61 61
62 namespace WebCore { 62 namespace WebCore {
63 63
64 static void initializeScriptWrappableForInterface(TestObject* object) 64 static void initializeScriptWrappableForInterface(TestObject* object)
65 { 65 {
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 { 998 {
999 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 999 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1000 TestObjectV8Internal::windowAttributeAttributeGetter(info); 1000 TestObjectV8Internal::windowAttributeAttributeGetter(info);
1001 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1001 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1002 } 1002 }
1003 1003
1004 static void windowAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v 8::PropertyCallbackInfo<void>& info) 1004 static void windowAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v 8::PropertyCallbackInfo<void>& info)
1005 { 1005 {
1006 v8::Handle<v8::Object> holder = info.Holder(); 1006 v8::Handle<v8::Object> holder = info.Holder();
1007 TestObject* impl = V8TestObject::toNative(holder); 1007 TestObject* impl = V8TestObject::toNative(holder);
1008 TONATIVE_VOID(DOMWindow*, cppValue, toDOMWindow(v8Value, info.GetIsolate())) ; 1008 TONATIVE_VOID(LocalDOMWindow*, cppValue, toDOMWindow(v8Value, info.GetIsolat e()));
1009 impl->setWindowAttribute(WTF::getPtr(cppValue)); 1009 impl->setWindowAttribute(WTF::getPtr(cppValue));
1010 } 1010 }
1011 1011
1012 static void windowAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1012 static void windowAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1013 { 1013 {
1014 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1014 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1015 TestObjectV8Internal::windowAttributeAttributeSetter(v8Value, info); 1015 TestObjectV8Internal::windowAttributeAttributeSetter(v8Value, info);
1016 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1016 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1017 } 1017 }
1018 1018
(...skipping 8812 matching lines...) Expand 10 before | Expand all | Expand 10 after
9831 fromInternalPointer(object)->deref(); 9831 fromInternalPointer(object)->deref();
9832 } 9832 }
9833 9833
9834 template<> 9834 template<>
9835 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 9835 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
9836 { 9836 {
9837 return toV8(impl, creationContext, isolate); 9837 return toV8(impl, creationContext, isolate);
9838 } 9838 }
9839 9839
9840 } // namespace WebCore 9840 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698