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

Unified Diff: tools/dom/scripts/dartmetadata.py

Issue 140543002: Revert "Redo "Make dart2js typed_data implementation classes private"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
Index: tools/dom/scripts/dartmetadata.py
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py
index 67d9b5735f4e7c9fdc04f7c0d44120d5a6e33e1e..26ef5694ea7f1100a35891d58894156ba8ecdd35 100644
--- a/tools/dom/scripts/dartmetadata.py
+++ b/tools/dom/scripts/dartmetadata.py
@@ -109,7 +109,7 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
"@Creates('Null')", # JS date object.
],
- 'FileReader.result': ["@Creates('String|NativeByteBuffer|Null')"],
+ 'FileReader.result': ["@Creates('String|ByteBuffer|Null')"],
'FocusEvent.relatedTarget': [
"@Creates('Null')",
@@ -208,8 +208,8 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
],
'ImageData.data': [
- "@Creates('NativeUint8ClampedList')",
- "@Returns('NativeUint8ClampedList')",
+ "@Creates('Uint8ClampedList')",
+ "@Returns('Uint8ClampedList')",
],
'MediaStream.getAudioTracks': [
@@ -300,26 +300,24 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
],
'WebGLRenderingContext.getUniform': [
- "@Creates('Null|num|String|bool|JSExtendableArray|"
- "NativeFloat32List|NativeInt32List|NativeUint32List')",
- "@Returns('Null|num|String|bool|JSExtendableArray|"
- "NativeFloat32List|NativeInt32List|NativeUint32List')",
+ "@Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List')",
+ "@Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List')",
],
'WebGLRenderingContext.getVertexAttrib': [
- "@Creates('Null|num|bool|NativeFloat32List|Buffer')",
- "@Returns('Null|num|bool|NativeFloat32List|Buffer')",
+ "@Creates('Null|num|bool|Float32List|Buffer')",
+ "@Returns('Null|num|bool|Float32List|Buffer')",
],
'WebGLRenderingContext.getParameter': [
# Taken from http://www.khronos.org/registry/webgl/specs/latest/
# Section 5.14.3 Setting and getting state
- "@Creates('Null|num|String|bool|JSExtendableArray|"
- "NativeFloat32List|NativeInt32List|NativeUint32List|"
- "Framebuffer|Renderbuffer|Texture')",
- "@Returns('Null|num|String|bool|JSExtendableArray|"
- "NativeFloat32List|NativeInt32List|NativeUint32List|"
- "Framebuffer|Renderbuffer|Texture')",
+ "@Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List|Framebuffer|Renderbuffer|Texture')",
+ "@Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List|Framebuffer|Renderbuffer|Texture')",
],
'WebGLRenderingContext.getContextAttributes': [
@@ -327,8 +325,8 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
],
'XMLHttpRequest.response': [
- "@Creates('NativeByteBuffer|Blob|Document|=Object|JSExtendableArray"
- "|String|num')",
+ "@Creates('ByteBuffer|Blob|Document|=Object|JSExtendableArray|String"
+ "|num')",
],
}, dart2jsOnly=True)
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tools/dom/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698