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

Unified Diff: tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate

Issue 34733007: Add back unseparated out version of method overloads in dart:html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« tools/dom/docs/lib/docs.dart ('K') | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
index 3b233f34c10c2cd02aff7d7073206263c875712e..d04c3bbb06eaec56082507afbf4fc262a2682350 100644
--- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
@@ -16,14 +16,13 @@ $!MEMBERS
* To use [texImage2d] with a TypedData object, use [texImage2dTyped].
*
*/
- @DomName('WebGLRenderingContext.texImage2D')
$if DART2JS
@JSName('texImage2D')
- void texImage2D(int targetTexture, int levelOfDetail, int internalFormat,
- int format, int type, data) native;
+ void texImage2DUntyped(int targetTexture, int levelOfDetail,
+ int internalFormat, int format, int type, data) native;
$else
- void texImage2D(int targetTexture, int levelOfDetail, int internalFormat,
- int format, int type, data) {
+ void texImage2DUntyped(int targetTexture, int levelOfDetail,
+ int internalFormat, int format, int type, data) {
if (data is ImageElement) {
texImage2DImage(targetTexture, levelOfDetail, internalFormat, format,
type, data);
@@ -51,7 +50,7 @@ $if DART2JS
$else
void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat,
int width, int height, int border, int format, int type, TypedData data) {
- _texImage2D(targetTexture, levelOfDetail, internalFormat,
+ texImage2D(targetTexture, levelOfDetail, internalFormat,
width, height, border, format, type, data);
}
$endif
@@ -65,15 +64,14 @@ $endif
* To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped].
*
*/
- @DomName('WebGLRenderingContext.texSubImage2D')
$if DART2JS
@JSName('texSubImage2D')
- void texSubImage2D(int targetTexture, int levelOfDetail, int internalFormat,
- int format, int type, data) native;
+ void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
+ int internalFormat, int format, int type, data) native;
$else
- void texSubImage2D(int targetTexture, int levelOfDetail, int internalFormat,
- int format, int type, data) {
- _texSubImage2D(targetTexture, levelOfDetail, internalFormat,
+ void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
+ int internalFormat, int format, int type, data) {
+ texSubImage2D(targetTexture, levelOfDetail, internalFormat,
format, type, data);
}
$endif
@@ -90,7 +88,7 @@ $else
void texSubImage2DTyped(int targetTexture, int levelOfDetail,
int internalFormat, int width, int height, int border, int format,
int type, TypedData data) {
- _texSubImage2D(targetTexture, levelOfDetail, internalFormat,
+ texSubImage2D(targetTexture, levelOfDetail, internalFormat,
width, height, border, format, type, data);
}
$endif
« tools/dom/docs/lib/docs.dart ('K') | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698