OLD | NEW |
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 #ifndef WebGLAny_h | 5 #ifndef WebGLAny_h |
6 #define WebGLAny_h | 6 #define WebGLAny_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptValue.h" | 8 #include "bindings/core/v8/ScriptValue.h" |
9 #include "core/dom/DOMTypedArray.h" | 9 #include "core/dom/DOMTypedArray.h" |
10 #include "modules/webgl/WebGLObject.h" | 10 #include "modules/webgl/WebGLObject.h" |
11 #include "wtf/Forward.h" | 11 #include "wtf/Forward.h" |
12 #include "wtf/PassRefPtr.h" | 12 #include "wtf/PassRefPtr.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 ScriptValue WebGLAny(ScriptState*, bool value); | 16 ScriptValue WebGLAny(ScriptState*, bool value); |
17 ScriptValue WebGLAny(ScriptState*, const bool* value, size_t); | 17 ScriptValue WebGLAny(ScriptState*, const bool* value, size_t); |
18 ScriptValue WebGLAny(ScriptState*, int value); | 18 ScriptValue WebGLAny(ScriptState*, int value); |
19 ScriptValue WebGLAny(ScriptState*, unsigned value); | 19 ScriptValue WebGLAny(ScriptState*, unsigned value); |
20 ScriptValue WebGLAny(ScriptState*, int64_t value); | 20 ScriptValue WebGLAny(ScriptState*, int64_t value); |
21 ScriptValue WebGLAny(ScriptState*, float value); | 21 ScriptValue WebGLAny(ScriptState*, float value); |
22 ScriptValue WebGLAny(ScriptState*, String value); | 22 ScriptValue WebGLAny(ScriptState*, String value); |
23 ScriptValue WebGLAny(ScriptState*, PassRefPtrWillBeRawPtr<WebGLObject> value); | 23 ScriptValue WebGLAny(ScriptState*, WebGLObject* value); |
24 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMFloat32Array> value); | 24 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMFloat32Array> value); |
25 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMInt32Array> value); | 25 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMInt32Array> value); |
26 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint8Array> value); | 26 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint8Array> value); |
27 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint32Array> value); | 27 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint32Array> value); |
28 | 28 |
29 } // namespace blink | 29 } // namespace blink |
30 | 30 |
31 #endif // WebGLAny_h | 31 #endif // WebGLAny_h |
OLD | NEW |