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

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

Issue 306543008: Qualify include paths in generated bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: r-b-t and tests 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 "V8TestInterface2.h" 8 #include "V8TestInterface2.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
11 #include "V8Interface1.h" 11 #include "bindings/tests/v8/V8TestInterface.h"
12 #include "V8Interface2.h" 12 #include "bindings/tests/v8/V8TestInterfaceEmpty.h"
13 #include "V8TestInterfaceEmpty.h"
14 #include "bindings/v8/ExceptionState.h" 13 #include "bindings/v8/ExceptionState.h"
15 #include "bindings/v8/V8DOMConfiguration.h" 14 #include "bindings/v8/V8DOMConfiguration.h"
16 #include "bindings/v8/V8GCController.h" 15 #include "bindings/v8/V8GCController.h"
17 #include "bindings/v8/V8HiddenValue.h" 16 #include "bindings/v8/V8HiddenValue.h"
18 #include "bindings/v8/V8ObjectConstructor.h" 17 #include "bindings/v8/V8ObjectConstructor.h"
19 #include "core/dom/ContextFeatures.h" 18 #include "core/dom/ContextFeatures.h"
20 #include "core/dom/Document.h" 19 #include "core/dom/Document.h"
21 #include "core/dom/Element.h" 20 #include "core/dom/Element.h"
22 #include "core/frame/DOMWindow.h" 21 #include "core/frame/DOMWindow.h"
23 #include "platform/TraceEvent.h" 22 #include "platform/TraceEvent.h"
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 483 }
485 484
486 TestInterface2* V8TestInterface2::toNativeWithTypeCheck(v8::Isolate* isolate, v8 ::Handle<v8::Value> value) 485 TestInterface2* V8TestInterface2::toNativeWithTypeCheck(v8::Isolate* isolate, v8 ::Handle<v8::Value> value)
487 { 486 {
488 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 487 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
489 } 488 }
490 489
491 v8::Handle<v8::Object> wrap(TestInterface2* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate* isolate) 490 v8::Handle<v8::Object> wrap(TestInterface2* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate* isolate)
492 { 491 {
493 ASSERT(impl); 492 ASSERT(impl);
494 if (impl->isInterface1()) 493 if (impl->isTestInterface())
495 return wrap(toInterface1(impl), creationContext, isolate); 494 return wrap(toTestInterface(impl), creationContext, isolate);
496 if (impl->isInterface2()) 495 if (impl->isTestInterfaceEmpty())
497 return wrap(toInterface2(impl), creationContext, isolate); 496 return wrap(toTestInterfaceEmpty(impl), creationContext, isolate);
498 v8::Handle<v8::Object> wrapper = V8TestInterface2::createWrapper(impl, creat ionContext, isolate); 497 v8::Handle<v8::Object> wrapper = V8TestInterface2::createWrapper(impl, creat ionContext, isolate);
499 return wrapper; 498 return wrapper;
500 } 499 }
501 500
502 v8::Handle<v8::Object> V8TestInterface2::createWrapper(PassRefPtr<TestInterface2 > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 501 v8::Handle<v8::Object> V8TestInterface2::createWrapper(PassRefPtr<TestInterface2 > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
503 { 502 {
504 ASSERT(impl); 503 ASSERT(impl);
505 ASSERT(!DOMDataStore::containsWrapper<V8TestInterface2>(impl.get(), isolate) ); 504 ASSERT(!DOMDataStore::containsWrapper<V8TestInterface2>(impl.get(), isolate) );
506 if (ScriptWrappable::wrapperCanBeStoredInObject(impl.get())) { 505 if (ScriptWrappable::wrapperCanBeStoredInObject(impl.get())) {
507 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get ())->typeInfo(); 506 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get ())->typeInfo();
(...skipping 16 matching lines...) Expand all
524 fromInternalPointer(object)->deref(); 523 fromInternalPointer(object)->deref();
525 } 524 }
526 525
527 template<> 526 template<>
528 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 527 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
529 { 528 {
530 return toV8(impl, creationContext, isolate); 529 return toV8(impl, creationContext, isolate);
531 } 530 }
532 531
533 } // namespace WebCore 532 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | Source/bindings/tests/results/V8TestInterface3.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698