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

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

Issue 8885004: 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; };
1590 } 1588 }
1591 DOM$fixMembers(c, ['subarray']); 1589 DOM$fixMembers(c, ['subarray']);
1592 c.$implements$Float32Array$Dart = 1; 1590 c.$implements$Float32Array$Dart = 1;
1593 c.$implements$ArrayBufferView$Dart = 1; 1591 c.$implements$ArrayBufferView$Dart = 1;
1594 } 1592 }
1595 function DOM$fixClass$Float64Array(c) { 1593 function DOM$fixClass$Float64Array(c) {
1596 if (c.prototype) { 1594 if (c.prototype) {
1597 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 1595 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; };
1600 } 1596 }
1601 DOM$fixMembers(c, ['subarray']); 1597 DOM$fixMembers(c, ['subarray']);
1602 c.$implements$Float64Array$Dart = 1; 1598 c.$implements$Float64Array$Dart = 1;
1603 c.$implements$ArrayBufferView$Dart = 1; 1599 c.$implements$ArrayBufferView$Dart = 1;
1604 } 1600 }
1605 function DOM$fixClass$Geolocation(c) { 1601 function DOM$fixClass$Geolocation(c) {
1606 if (c.prototype) { 1602 if (c.prototype) {
1607 } 1603 }
1608 DOM$fixMembers(c, [ 1604 DOM$fixMembers(c, [
1609 'clearWatch', 1605 'clearWatch',
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after
3676 'saveAs', 3672 'saveAs',
3677 'sendMessageToBackend', 3673 'sendMessageToBackend',
3678 'setAttachedWindowHeight', 3674 'setAttachedWindowHeight',
3679 'setExtensionAPI', 3675 'setExtensionAPI',
3680 'showContextMenu']); 3676 'showContextMenu']);
3681 c.$implements$InspectorFrontendHost$Dart = 1; 3677 c.$implements$InspectorFrontendHost$Dart = 1;
3682 } 3678 }
3683 function DOM$fixClass$Int16Array(c) { 3679 function DOM$fixClass$Int16Array(c) {
3684 if (c.prototype) { 3680 if (c.prototype) {
3685 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3681 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; };
3688 } 3682 }
3689 DOM$fixMembers(c, ['subarray']); 3683 DOM$fixMembers(c, ['subarray']);
3690 c.$implements$Int16Array$Dart = 1; 3684 c.$implements$Int16Array$Dart = 1;
3691 c.$implements$ArrayBufferView$Dart = 1; 3685 c.$implements$ArrayBufferView$Dart = 1;
3692 } 3686 }
3693 function DOM$fixClass$Int32Array(c) { 3687 function DOM$fixClass$Int32Array(c) {
3694 if (c.prototype) { 3688 if (c.prototype) {
3695 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3689 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; };
3698 } 3690 }
3699 DOM$fixMembers(c, ['subarray']); 3691 DOM$fixMembers(c, ['subarray']);
3700 c.$implements$Int32Array$Dart = 1; 3692 c.$implements$Int32Array$Dart = 1;
3701 c.$implements$ArrayBufferView$Dart = 1; 3693 c.$implements$ArrayBufferView$Dart = 1;
3702 } 3694 }
3703 function DOM$fixClass$Int8Array(c) { 3695 function DOM$fixClass$Int8Array(c) {
3704 if (c.prototype) { 3696 if (c.prototype) {
3705 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 3697 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; };
3708 } 3698 }
3709 DOM$fixMembers(c, ['subarray']); 3699 DOM$fixMembers(c, ['subarray']);
3710 c.$implements$Int8Array$Dart = 1; 3700 c.$implements$Int8Array$Dart = 1;
3711 c.$implements$ArrayBufferView$Dart = 1; 3701 c.$implements$ArrayBufferView$Dart = 1;
3712 } 3702 }
3713 function DOM$fixClass$JavaScriptAudioNode(c) { 3703 function DOM$fixClass$JavaScriptAudioNode(c) {
3714 if (c.prototype) { 3704 if (c.prototype) {
3715 c.prototype.bufferSize$getter = function() { return DOM$EnsureDartNull(this. bufferSize); }; 3705 c.prototype.bufferSize$getter = function() { return DOM$EnsureDartNull(this. bufferSize); };
3716 } 3706 }
3717 c.$implements$JavaScriptAudioNode$Dart = 1; 3707 c.$implements$JavaScriptAudioNode$Dart = 1;
(...skipping 3813 matching lines...) Expand 10 before | Expand all | Expand 10 after
7531 c.prototype.view$getter = function() { return DOM$EnsureDartNull(this.view); }; 7521 c.prototype.view$getter = function() { return DOM$EnsureDartNull(this.view); };
7532 c.prototype.which$getter = function() { return DOM$EnsureDartNull(this.which ); }; 7522 c.prototype.which$getter = function() { return DOM$EnsureDartNull(this.which ); };
7533 } 7523 }
7534 DOM$fixMembers(c, ['initUIEvent']); 7524 DOM$fixMembers(c, ['initUIEvent']);
7535 c.$implements$UIEvent$Dart = 1; 7525 c.$implements$UIEvent$Dart = 1;
7536 c.$implements$Event$Dart = 1; 7526 c.$implements$Event$Dart = 1;
7537 } 7527 }
7538 function DOM$fixClass$Uint16Array(c) { 7528 function DOM$fixClass$Uint16Array(c) {
7539 if (c.prototype) { 7529 if (c.prototype) {
7540 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7530 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; };
7543 } 7531 }
7544 DOM$fixMembers(c, ['subarray']); 7532 DOM$fixMembers(c, ['subarray']);
7545 c.$implements$Uint16Array$Dart = 1; 7533 c.$implements$Uint16Array$Dart = 1;
7546 c.$implements$ArrayBufferView$Dart = 1; 7534 c.$implements$ArrayBufferView$Dart = 1;
7547 } 7535 }
7548 function DOM$fixClass$Uint32Array(c) { 7536 function DOM$fixClass$Uint32Array(c) {
7549 if (c.prototype) { 7537 if (c.prototype) {
7550 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7538 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; };
7553 } 7539 }
7554 DOM$fixMembers(c, ['subarray']); 7540 DOM$fixMembers(c, ['subarray']);
7555 c.$implements$Uint32Array$Dart = 1; 7541 c.$implements$Uint32Array$Dart = 1;
7556 c.$implements$ArrayBufferView$Dart = 1; 7542 c.$implements$ArrayBufferView$Dart = 1;
7557 } 7543 }
7558 function DOM$fixClass$Uint8Array(c) { 7544 function DOM$fixClass$Uint8Array(c) {
7559 if (c.prototype) { 7545 if (c.prototype) {
7560 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng th); }; 7546 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; };
7563 } 7547 }
7564 DOM$fixMembers(c, ['subarray']); 7548 DOM$fixMembers(c, ['subarray']);
7565 c.$implements$Uint8Array$Dart = 1; 7549 c.$implements$Uint8Array$Dart = 1;
7566 c.$implements$ArrayBufferView$Dart = 1; 7550 c.$implements$ArrayBufferView$Dart = 1;
7567 } 7551 }
7568 function DOM$fixClass$ValidityState(c) { 7552 function DOM$fixClass$ValidityState(c) {
7569 if (c.prototype) { 7553 if (c.prototype) {
7570 c.prototype.customError$getter = function() { return DOM$EnsureDartNull(this .customError); }; 7554 c.prototype.customError$getter = function() { return DOM$EnsureDartNull(this .customError); };
7571 c.prototype.patternMismatch$getter = function() { return DOM$EnsureDartNull( this.patternMismatch); }; 7555 c.prototype.patternMismatch$getter = function() { return DOM$EnsureDartNull( this.patternMismatch); };
7572 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th is.rangeOverflow); }; 7556 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th is.rangeOverflow); };
(...skipping 2772 matching lines...) Expand 10 before | Expand all | Expand 10 after
10345 function native__NativeDomGlobalProperties_getWindow() { 10329 function native__NativeDomGlobalProperties_getWindow() {
10346 // TODO: Should the window be obtained from an isolate? 10330 // TODO: Should the window be obtained from an isolate?
10347 return window; 10331 return window;
10348 } 10332 }
10349 10333
10350 // Declared in src/GlobalProperties.dart 10334 // Declared in src/GlobalProperties.dart
10351 function native__NativeDomGlobalProperties_getDocument() { 10335 function native__NativeDomGlobalProperties_getDocument() {
10352 // TODO: Should the window be obtained from an isolate? 10336 // TODO: Should the window be obtained from an isolate?
10353 return window.document; 10337 return window.document;
10354 } 10338 }
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