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

Side by Side Diff: Source/bindings/core/v8/WebGLAny.h

Issue 795833004: Use dictionaries for context creation attributes. Eliminate custom bindings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years 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
« no previous file with comments | « Source/bindings/core/v8/ScriptValue.cpp ('k') | Source/bindings/core/v8/WebGLAny.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 "core/html/canvas/WebGLObject.h" 10 #include "core/html/canvas/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 class WebGLRenderingContextBase; 16 class WebGLRenderingContextBase;
17 17
18 ScriptValue WebGLAny(ScriptState*);
19 ScriptValue WebGLAny(ScriptState*, bool value); 18 ScriptValue WebGLAny(ScriptState*, bool value);
20 ScriptValue WebGLAny(ScriptState*, const bool* value, size_t); 19 ScriptValue WebGLAny(ScriptState*, const bool* value, size_t);
21 ScriptValue WebGLAny(ScriptState*, int value); 20 ScriptValue WebGLAny(ScriptState*, int value);
22 ScriptValue WebGLAny(ScriptState*, unsigned value); 21 ScriptValue WebGLAny(ScriptState*, unsigned value);
23 ScriptValue WebGLAny(ScriptState*, float value); 22 ScriptValue WebGLAny(ScriptState*, float value);
24 ScriptValue WebGLAny(ScriptState*, String value); 23 ScriptValue WebGLAny(ScriptState*, String value);
25 ScriptValue WebGLAny(ScriptState*, PassRefPtrWillBeRawPtr<WebGLObject> value); 24 ScriptValue WebGLAny(ScriptState*, PassRefPtrWillBeRawPtr<WebGLObject> value);
26 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMFloat32Array> value); 25 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMFloat32Array> value);
27 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMInt32Array> value); 26 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMInt32Array> value);
28 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint8Array> value); 27 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint8Array> value);
29 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint32Array> value); 28 ScriptValue WebGLAny(ScriptState*, PassRefPtr<DOMUint32Array> value);
30 29
31 } // namespace blink 30 } // namespace blink
32 31
33 #endif // WebGLAny_h 32 #endif // WebGLAny_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptValue.cpp ('k') | Source/bindings/core/v8/WebGLAny.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698