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

Side by Side Diff: client/dom/generated/monkey_dom.js

Issue 8883007: Revert "Revert "Implement typed array constructors."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 | « client/dom/frog_dom.dart ('k') | client/dom/generated/src/frog/CanvasPixelArray.dart » ('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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated Dart DOM implementation. 6 // Auto-generated Dart DOM implementation.
7 7
8 function DOM$EnsureDartNull(value) { 8 function DOM$EnsureDartNull(value) {
9 return value === null ? (void 0) : value; 9 return value === null ? (void 0) : value;
10 } 10 }
(...skipping 1567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 } 1578 }
1579 DOM$fixMembers(c, [ 1579 DOM$fixMembers(c, [
1580 'seek', 1580 'seek',
1581 'truncate', 1581 'truncate',
1582 'write']); 1582 'write']);
1583 c.$implements$FileWriterSync$Dart = 1; 1583 c.$implements$FileWriterSync$Dart = 1;
1584 } 1584 }
1585 function DOM$fixClass$Float32Array(c) { 1585 function DOM$fixClass$Float32Array(c) {
1586 if (c.prototype) { 1586 if (c.prototype) {
1587 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 1587 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
1588 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
1589 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
1588 } 1590 }
1589 DOM$fixMembers(c, ['subarray']); 1591 DOM$fixMembers(c, ['subarray']);
1590 c.$implements$Float32Array$Dart = 1; 1592 c.$implements$Float32Array$Dart = 1;
1591 c.$implements$ArrayBufferView$Dart = 1; 1593 c.$implements$ArrayBufferView$Dart = 1;
1592 } 1594 }
1593 function DOM$fixClass$Float64Array(c) { 1595 function DOM$fixClass$Float64Array(c) {
1594 if (c.prototype) { 1596 if (c.prototype) {
1595 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 1597 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
1598 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
1599 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
1596 } 1600 }
1597 DOM$fixMembers(c, ['subarray']); 1601 DOM$fixMembers(c, ['subarray']);
1598 c.$implements$Float64Array$Dart = 1; 1602 c.$implements$Float64Array$Dart = 1;
1599 c.$implements$ArrayBufferView$Dart = 1; 1603 c.$implements$ArrayBufferView$Dart = 1;
1600 } 1604 }
1601 function DOM$fixClass$Geolocation(c) { 1605 function DOM$fixClass$Geolocation(c) {
1602 if (c.prototype) { 1606 if (c.prototype) {
1603 } 1607 }
1604 DOM$fixMembers(c, [ 1608 DOM$fixMembers(c, [
1605 'clearWatch', 1609 'clearWatch',
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after
3672 'saveAs', 3676 'saveAs',
3673 'sendMessageToBackend', 3677 'sendMessageToBackend',
3674 'setAttachedWindowHeight', 3678 'setAttachedWindowHeight',
3675 'setExtensionAPI', 3679 'setExtensionAPI',
3676 'showContextMenu']); 3680 'showContextMenu']);
3677 c.$implements$InspectorFrontendHost$Dart = 1; 3681 c.$implements$InspectorFrontendHost$Dart = 1;
3678 } 3682 }
3679 function DOM$fixClass$Int16Array(c) { 3683 function DOM$fixClass$Int16Array(c) {
3680 if (c.prototype) { 3684 if (c.prototype) {
3681 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3685 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
3686 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
3687 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
3682 } 3688 }
3683 DOM$fixMembers(c, ['subarray']); 3689 DOM$fixMembers(c, ['subarray']);
3684 c.$implements$Int16Array$Dart = 1; 3690 c.$implements$Int16Array$Dart = 1;
3685 c.$implements$ArrayBufferView$Dart = 1; 3691 c.$implements$ArrayBufferView$Dart = 1;
3686 } 3692 }
3687 function DOM$fixClass$Int32Array(c) { 3693 function DOM$fixClass$Int32Array(c) {
3688 if (c.prototype) { 3694 if (c.prototype) {
3689 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3695 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
3696 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
3697 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
3690 } 3698 }
3691 DOM$fixMembers(c, ['subarray']); 3699 DOM$fixMembers(c, ['subarray']);
3692 c.$implements$Int32Array$Dart = 1; 3700 c.$implements$Int32Array$Dart = 1;
3693 c.$implements$ArrayBufferView$Dart = 1; 3701 c.$implements$ArrayBufferView$Dart = 1;
3694 } 3702 }
3695 function DOM$fixClass$Int8Array(c) { 3703 function DOM$fixClass$Int8Array(c) {
3696 if (c.prototype) { 3704 if (c.prototype) {
3697 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3705 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
3706 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
3707 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
3698 } 3708 }
3699 DOM$fixMembers(c, ['subarray']); 3709 DOM$fixMembers(c, ['subarray']);
3700 c.$implements$Int8Array$Dart = 1; 3710 c.$implements$Int8Array$Dart = 1;
3701 c.$implements$ArrayBufferView$Dart = 1; 3711 c.$implements$ArrayBufferView$Dart = 1;
3702 } 3712 }
3703 function DOM$fixClass$JavaScriptAudioNode(c) { 3713 function DOM$fixClass$JavaScriptAudioNode(c) {
3704 if (c.prototype) { 3714 if (c.prototype) {
3705 c.prototype.bufferSize$getter = function() { return DOM$EnsureDartNull(this. bufferSize); }; 3715 c.prototype.bufferSize$getter = function() { return DOM$EnsureDartNull(this. bufferSize); };
3706 } 3716 }
3707 c.$implements$JavaScriptAudioNode$Dart = 1; 3717 c.$implements$JavaScriptAudioNode$Dart = 1;
(...skipping 3813 matching lines...) Expand 10 before | Expand all | Expand 10 after
7521 c.prototype.view$getter = function() { return DOM$EnsureDartNull(this.view); }; 7531 c.prototype.view$getter = function() { return DOM$EnsureDartNull(this.view); };
7522 c.prototype.which$getter = function() { return DOM$EnsureDartNull(this.which ); }; 7532 c.prototype.which$getter = function() { return DOM$EnsureDartNull(this.which ); };
7523 } 7533 }
7524 DOM$fixMembers(c, ['initUIEvent']); 7534 DOM$fixMembers(c, ['initUIEvent']);
7525 c.$implements$UIEvent$Dart = 1; 7535 c.$implements$UIEvent$Dart = 1;
7526 c.$implements$Event$Dart = 1; 7536 c.$implements$Event$Dart = 1;
7527 } 7537 }
7528 function DOM$fixClass$Uint16Array(c) { 7538 function DOM$fixClass$Uint16Array(c) {
7529 if (c.prototype) { 7539 if (c.prototype) {
7530 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7540 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
7541 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
7542 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
7531 } 7543 }
7532 DOM$fixMembers(c, ['subarray']); 7544 DOM$fixMembers(c, ['subarray']);
7533 c.$implements$Uint16Array$Dart = 1; 7545 c.$implements$Uint16Array$Dart = 1;
7534 c.$implements$ArrayBufferView$Dart = 1; 7546 c.$implements$ArrayBufferView$Dart = 1;
7535 } 7547 }
7536 function DOM$fixClass$Uint32Array(c) { 7548 function DOM$fixClass$Uint32Array(c) {
7537 if (c.prototype) { 7549 if (c.prototype) {
7538 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7550 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
7551 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
7552 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
7539 } 7553 }
7540 DOM$fixMembers(c, ['subarray']); 7554 DOM$fixMembers(c, ['subarray']);
7541 c.$implements$Uint32Array$Dart = 1; 7555 c.$implements$Uint32Array$Dart = 1;
7542 c.$implements$ArrayBufferView$Dart = 1; 7556 c.$implements$ArrayBufferView$Dart = 1;
7543 } 7557 }
7544 function DOM$fixClass$Uint8Array(c) { 7558 function DOM$fixClass$Uint8Array(c) {
7545 if (c.prototype) { 7559 if (c.prototype) {
7546 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7560 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); };
7561 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k] ); };
7562 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; };
7547 } 7563 }
7548 DOM$fixMembers(c, ['subarray']); 7564 DOM$fixMembers(c, ['subarray']);
7549 c.$implements$Uint8Array$Dart = 1; 7565 c.$implements$Uint8Array$Dart = 1;
7550 c.$implements$ArrayBufferView$Dart = 1; 7566 c.$implements$ArrayBufferView$Dart = 1;
7551 } 7567 }
7552 function DOM$fixClass$ValidityState(c) { 7568 function DOM$fixClass$ValidityState(c) {
7553 if (c.prototype) { 7569 if (c.prototype) {
7554 c.prototype.customError$getter = function() { return DOM$EnsureDartNull(this .customError); }; 7570 c.prototype.customError$getter = function() { return DOM$EnsureDartNull(this .customError); };
7555 c.prototype.patternMismatch$getter = function() { return DOM$EnsureDartNull( this.patternMismatch); }; 7571 c.prototype.patternMismatch$getter = function() { return DOM$EnsureDartNull( this.patternMismatch); };
7556 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th is.rangeOverflow); }; 7572 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th is.rangeOverflow); };
(...skipping 2772 matching lines...) Expand 10 before | Expand all | Expand 10 after
10329 function native__NativeDomGlobalProperties_getWindow() { 10345 function native__NativeDomGlobalProperties_getWindow() {
10330 // TODO: Should the window be obtained from an isolate? 10346 // TODO: Should the window be obtained from an isolate?
10331 return window; 10347 return window;
10332 } 10348 }
10333 10349
10334 // Declared in src/GlobalProperties.dart 10350 // Declared in src/GlobalProperties.dart
10335 function native__NativeDomGlobalProperties_getDocument() { 10351 function native__NativeDomGlobalProperties_getDocument() {
10336 // TODO: Should the window be obtained from an isolate? 10352 // TODO: Should the window be obtained from an isolate?
10337 return window.document; 10353 return window.document;
10338 } 10354 }
OLDNEW
« no previous file with comments | « client/dom/frog_dom.dart ('k') | client/dom/generated/src/frog/CanvasPixelArray.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698