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

Side by Side Diff: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp

Issue 205243013: Got WebGLRenderingContextBase to work with the "implements" syntax (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to use ImplementedInBaseClass (NOT GOOD TO COMMIT) Created 6 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "V8WebGLRenderingContext.h"
7
8 #include "V8WebGLRenderingContextBase.h"
9
10 namespace WebCore {
11
12 #define WEBGL_CONTEXT_BASE_FUNCTION(name) \
13 void V8WebGLRenderingContext::name(const v8::FunctionCallbackInfo<v8::Value>& in fo) { \
14 V8WebGLRenderingContextBase::name(info); \
15 }
16
17 WEBGL_CONTEXT_BASE_FUNCTION(getAttachedShadersMethodCustom)
18 WEBGL_CONTEXT_BASE_FUNCTION(getBufferParameterMethodCustom)
19 WEBGL_CONTEXT_BASE_FUNCTION(getExtensionMethodCustom)
20 WEBGL_CONTEXT_BASE_FUNCTION(getFramebufferAttachmentParameterMethodCustom)
21 WEBGL_CONTEXT_BASE_FUNCTION(getParameterMethodCustom)
22 WEBGL_CONTEXT_BASE_FUNCTION(getProgramParameterMethodCustom)
23 WEBGL_CONTEXT_BASE_FUNCTION(getRenderbufferParameterMethodCustom)
24 WEBGL_CONTEXT_BASE_FUNCTION(getShaderParameterMethodCustom)
25 WEBGL_CONTEXT_BASE_FUNCTION(getSupportedExtensionsMethodCustom)
26 WEBGL_CONTEXT_BASE_FUNCTION(getTexParameterMethodCustom)
27 WEBGL_CONTEXT_BASE_FUNCTION(getUniformMethodCustom)
28 WEBGL_CONTEXT_BASE_FUNCTION(getVertexAttribMethodCustom)
29 WEBGL_CONTEXT_BASE_FUNCTION(uniform1fvMethodCustom)
30 WEBGL_CONTEXT_BASE_FUNCTION(uniform1ivMethodCustom)
31 WEBGL_CONTEXT_BASE_FUNCTION(uniform2fvMethodCustom)
32 WEBGL_CONTEXT_BASE_FUNCTION(uniform2ivMethodCustom)
33 WEBGL_CONTEXT_BASE_FUNCTION(uniform3fvMethodCustom)
34 WEBGL_CONTEXT_BASE_FUNCTION(uniform3ivMethodCustom)
35 WEBGL_CONTEXT_BASE_FUNCTION(uniform4fvMethodCustom)
36 WEBGL_CONTEXT_BASE_FUNCTION(uniform4ivMethodCustom)
37 WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix2fvMethodCustom)
38 WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix3fvMethodCustom)
39 WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix4fvMethodCustom)
40 WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib1fvMethodCustom)
41 WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib2fvMethodCustom)
42 WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib3fvMethodCustom)
43 WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib4fvMethodCustom)
44
45 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698