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

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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" 46 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
47 #include "bindings/v8/custom/V8Float32ArrayCustom.h" 47 #include "bindings/v8/custom/V8Float32ArrayCustom.h"
48 #include "bindings/v8/custom/V8Int32ArrayCustom.h" 48 #include "bindings/v8/custom/V8Int32ArrayCustom.h"
49 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" 49 #include "bindings/v8/custom/V8Uint8ArrayCustom.h"
50 #include "core/css/MediaQueryListListener.h" 50 #include "core/css/MediaQueryListListener.h"
51 #include "core/dom/ClassCollection.h" 51 #include "core/dom/ClassCollection.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/TagCollection.h" 54 #include "core/dom/TagCollection.h"
55 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 55 #include "core/dom/custom/CustomElementCallbackDispatcher.h"
56 #include "core/frame/DOMWindow.h" 56 #include "core/frame/LocalDOMWindow.h"
57 #include "core/frame/UseCounter.h" 57 #include "core/frame/UseCounter.h"
58 #include "core/html/HTMLCollection.h" 58 #include "core/html/HTMLCollection.h"
59 #include "core/html/HTMLFormControlsCollection.h" 59 #include "core/html/HTMLFormControlsCollection.h"
60 #include "core/html/HTMLTableRowsCollection.h" 60 #include "core/html/HTMLTableRowsCollection.h"
61 #include "core/inspector/ScriptArguments.h" 61 #include "core/inspector/ScriptArguments.h"
62 #include "platform/RuntimeEnabledFeatures.h" 62 #include "platform/RuntimeEnabledFeatures.h"
63 #include "platform/TraceEvent.h" 63 #include "platform/TraceEvent.h"
64 #include "wtf/GetPtr.h" 64 #include "wtf/GetPtr.h"
65 #include "wtf/RefPtr.h" 65 #include "wtf/RefPtr.h"
66 66
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 { 1033 {
1034 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1034 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1035 TestObjectV8Internal::windowAttributeAttributeGetter(info); 1035 TestObjectV8Internal::windowAttributeAttributeGetter(info);
1036 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1036 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1037 } 1037 }
1038 1038
1039 static void windowAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v 8::PropertyCallbackInfo<void>& info) 1039 static void windowAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v 8::PropertyCallbackInfo<void>& info)
1040 { 1040 {
1041 v8::Handle<v8::Object> holder = info.Holder(); 1041 v8::Handle<v8::Object> holder = info.Holder();
1042 TestObject* impl = V8TestObject::toNative(holder); 1042 TestObject* impl = V8TestObject::toNative(holder);
1043 TONATIVE_VOID(DOMWindow*, cppValue, toDOMWindow(v8Value, info.GetIsolate())) ; 1043 TONATIVE_VOID(LocalDOMWindow*, cppValue, toDOMWindow(v8Value, info.GetIsolat e()));
1044 impl->setWindowAttribute(WTF::getPtr(cppValue)); 1044 impl->setWindowAttribute(WTF::getPtr(cppValue));
1045 } 1045 }
1046 1046
1047 static void windowAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1047 static void windowAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1048 { 1048 {
1049 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1049 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1050 TestObjectV8Internal::windowAttributeAttributeSetter(v8Value, info); 1050 TestObjectV8Internal::windowAttributeAttributeSetter(v8Value, info);
1051 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 1051 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
1052 } 1052 }
1053 1053
(...skipping 9052 matching lines...) Expand 10 before | Expand all | Expand 10 after
10106 fromInternalPointer(object)->deref(); 10106 fromInternalPointer(object)->deref();
10107 } 10107 }
10108 10108
10109 template<> 10109 template<>
10110 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 10110 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
10111 { 10111 {
10112 return toV8(impl, creationContext, isolate); 10112 return toV8(impl, creationContext, isolate);
10113 } 10113 }
10114 10114
10115 } // namespace WebCore 10115 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestNode.cpp ('k') | Source/bindings/tests/results/V8TestTypedefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698