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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContextBase.idl

Issue 973503002: Remove [TypeChecking=Unrestricted] use in Source/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 typedef long GLsizei; 34 typedef long GLsizei;
35 typedef long long GLintptr; 35 typedef long long GLintptr;
36 typedef long long GLsizeiptr; 36 typedef long long GLsizeiptr;
37 typedef octet GLubyte; // 'octet' should be an unsigned 8 bit type. 37 typedef octet GLubyte; // 'octet' should be an unsigned 8 bit type.
38 typedef unsigned short GLushort; 38 typedef unsigned short GLushort;
39 typedef unsigned long GLuint; 39 typedef unsigned long GLuint;
40 typedef unrestricted float GLfloat; 40 typedef unrestricted float GLfloat;
41 typedef unrestricted float GLclampf; 41 typedef unrestricted float GLclampf;
42 42
43 [ 43 [
44 // FIXME: [DoNotCheckConstants] and [TypeChecking=(Interface,Unrestricted)] should be applied 44 // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface] should be appli ed
45 // to members and not need to be put on implementing interface 45 // to members and not need to be put on implementing interface
46 // DoNotCheckConstants, // need to put on implementing interface 46 // DoNotCheckConstants, // need to put on implementing interface
47 NoInterfaceObject, // Always used on target of 'implements' 47 NoInterfaceObject, // Always used on target of 'implements'
48 // TypeChecking=(Interface,Unrestricted), // need to put on implementing int erface 48 // TypeChecking=Interface, // need to put on implementing interface
49 WillBeGarbageCollected, 49 WillBeGarbageCollected,
50 ] interface WebGLRenderingContextBase { 50 ] interface WebGLRenderingContextBase {
51 51
52 readonly attribute HTMLCanvasElement canvas; 52 readonly attribute HTMLCanvasElement canvas;
53 53
54 /* ClearBufferMask */ 54 /* ClearBufferMask */
55 const GLenum DEPTH_BUFFER_BIT = 0x00000100; 55 const GLenum DEPTH_BUFFER_BIT = 0x00000100;
56 const GLenum STENCIL_BUFFER_BIT = 0x00000400; 56 const GLenum STENCIL_BUFFER_BIT = 0x00000400;
57 const GLenum COLOR_BUFFER_BIT = 0x00004000; 57 const GLenum COLOR_BUFFER_BIT = 0x00004000;
58 58
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 void vertexAttrib3fv(GLuint indx, Float32Array values); 695 void vertexAttrib3fv(GLuint indx, Float32Array values);
696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); 696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values);
697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
698 void vertexAttrib4fv(GLuint indx, Float32Array values); 698 void vertexAttrib4fv(GLuint indx, Float32Array values);
699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); 699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values);
700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, 700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized,
701 GLsizei stride, GLintptr offset); 701 GLsizei stride, GLintptr offset);
702 702
703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
704 }; 704 };
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.idl ('k') | Source/core/html/track/TextTrackCue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698