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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventTarget.cpp

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (Closed)
Patch Set: Fix build Created 3 years, 7 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
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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
10 10
11 // clang-format off 11 // clang-format off
12 #include "V8TestInterfaceEventTarget.h" 12 #include "V8TestInterfaceEventTarget.h"
13 13
14 #include "bindings/core/v8/ExceptionState.h" 14 #include "bindings/core/v8/ExceptionState.h"
15 #include "bindings/core/v8/V8DOMConfiguration.h" 15 #include "bindings/core/v8/V8DOMConfiguration.h"
16 #include "bindings/core/v8/V8PrivateProperty.h"
17 #include "core/dom/Document.h" 16 #include "core/dom/Document.h"
18 #include "core/dom/ExecutionContext.h" 17 #include "core/dom/ExecutionContext.h"
19 #include "core/frame/LocalDOMWindow.h" 18 #include "core/frame/LocalDOMWindow.h"
20 #include "platform/bindings/V8ObjectConstructor.h" 19 #include "platform/bindings/V8ObjectConstructor.h"
20 #include "platform/bindings/V8PrivateProperty.h"
21 #include "platform/wtf/GetPtr.h" 21 #include "platform/wtf/GetPtr.h"
22 #include "platform/wtf/RefPtr.h" 22 #include "platform/wtf/RefPtr.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial 26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial
27 // and does not depend on another global objects. 27 // and does not depend on another global objects.
28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
29 #pragma clang diagnostic push 29 #pragma clang diagnostic push
30 #pragma clang diagnostic ignored "-Wglobal-constructors" 30 #pragma clang diagnostic ignored "-Wglobal-constructors"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 TestInterfaceEventTarget* NativeValueTraits<TestInterfaceEventTarget>::NativeVal ue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionSt ate) { 163 TestInterfaceEventTarget* NativeValueTraits<TestInterfaceEventTarget>::NativeVal ue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionSt ate) {
164 TestInterfaceEventTarget* nativeValue = V8TestInterfaceEventTarget::toImplWith TypeCheck(isolate, value); 164 TestInterfaceEventTarget* nativeValue = V8TestInterfaceEventTarget::toImplWith TypeCheck(isolate, value);
165 if (!nativeValue) { 165 if (!nativeValue) {
166 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue( 166 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue(
167 "TestInterfaceEventTarget")); 167 "TestInterfaceEventTarget"));
168 } 168 }
169 return nativeValue; 169 return nativeValue;
170 } 170 }
171 171
172 } // namespace blink 172 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698