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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.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 "V8ArrayBufferView.h" 12 #include "V8ArrayBufferView.h"
13 13
14 #include "bindings/core/v8/ExceptionState.h" 14 #include "bindings/core/v8/ExceptionState.h"
15 #include "bindings/core/v8/IDLTypes.h" 15 #include "bindings/core/v8/IDLTypes.h"
16 #include "bindings/core/v8/NativeValueTraitsImpl.h" 16 #include "bindings/core/v8/NativeValueTraitsImpl.h"
17 #include "bindings/core/v8/V8ArrayBuffer.h" 17 #include "bindings/core/v8/V8ArrayBuffer.h"
18 #include "bindings/core/v8/V8DOMConfiguration.h" 18 #include "bindings/core/v8/V8DOMConfiguration.h"
19 #include "bindings/core/v8/V8DataView.h" 19 #include "bindings/core/v8/V8DataView.h"
20 #include "bindings/core/v8/V8Float32Array.h" 20 #include "bindings/core/v8/V8Float32Array.h"
21 #include "bindings/core/v8/V8Float64Array.h" 21 #include "bindings/core/v8/V8Float64Array.h"
22 #include "bindings/core/v8/V8Int16Array.h" 22 #include "bindings/core/v8/V8Int16Array.h"
23 #include "bindings/core/v8/V8Int32Array.h" 23 #include "bindings/core/v8/V8Int32Array.h"
24 #include "bindings/core/v8/V8Int8Array.h" 24 #include "bindings/core/v8/V8Int8Array.h"
25 #include "bindings/core/v8/V8PrivateProperty.h"
26 #include "bindings/core/v8/V8SharedArrayBuffer.h" 25 #include "bindings/core/v8/V8SharedArrayBuffer.h"
27 #include "bindings/core/v8/V8Uint16Array.h" 26 #include "bindings/core/v8/V8Uint16Array.h"
28 #include "bindings/core/v8/V8Uint32Array.h" 27 #include "bindings/core/v8/V8Uint32Array.h"
29 #include "bindings/core/v8/V8Uint8Array.h" 28 #include "bindings/core/v8/V8Uint8Array.h"
30 #include "bindings/core/v8/V8Uint8ClampedArray.h" 29 #include "bindings/core/v8/V8Uint8ClampedArray.h"
31 #include "core/dom/ExecutionContext.h" 30 #include "core/dom/ExecutionContext.h"
32 #include "platform/bindings/V8ObjectConstructor.h" 31 #include "platform/bindings/V8ObjectConstructor.h"
32 #include "platform/bindings/V8PrivateProperty.h"
33 #include "platform/wtf/GetPtr.h" 33 #include "platform/wtf/GetPtr.h"
34 #include "platform/wtf/RefPtr.h" 34 #include "platform/wtf/RefPtr.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial 38 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial
39 // and does not depend on another global objects. 39 // and does not depend on another global objects.
40 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 40 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
41 #pragma clang diagnostic push 41 #pragma clang diagnostic push
42 #pragma clang diagnostic ignored "-Wglobal-constructors" 42 #pragma clang diagnostic ignored "-Wglobal-constructors"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 TestArrayBufferView* NativeValueTraits<TestArrayBufferView>::NativeValue(v8::Iso late* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) { 102 TestArrayBufferView* NativeValueTraits<TestArrayBufferView>::NativeValue(v8::Iso late* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
103 TestArrayBufferView* nativeValue = V8ArrayBufferView::toImplWithTypeCheck(isol ate, value); 103 TestArrayBufferView* nativeValue = V8ArrayBufferView::toImplWithTypeCheck(isol ate, value);
104 if (!nativeValue) { 104 if (!nativeValue) {
105 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue( 105 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue(
106 "ArrayBufferView")); 106 "ArrayBufferView"));
107 } 107 }
108 return nativeValue; 108 return nativeValue;
109 } 109 }
110 110
111 } // namespace blink 111 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698