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

Side by Side Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 27033009: Making all base class DOM types throw as well (to prevent a default constructor for DOM types that … (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_audio; 1 library dart.dom.web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev' hide deprecated; 5 import 'dart:_collection-dev' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // BSD-style license that can be found in the LICENSE file. 82 // BSD-style license that can be found in the LICENSE file.
83 83
84 // WARNING: Do not edit - generated code. 84 // WARNING: Do not edit - generated code.
85 85
86 86
87 @DocsEditable() 87 @DocsEditable()
88 @DomName('AudioBuffer') 88 @DomName('AudioBuffer')
89 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 89 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
90 @Experimental() 90 @Experimental()
91 class AudioBuffer extends NativeFieldWrapperClass1 { 91 class AudioBuffer extends NativeFieldWrapperClass1 {
92 // To suppress missing implicit constructor warnings.
93 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
92 94
93 @DomName('AudioBuffer.duration') 95 @DomName('AudioBuffer.duration')
94 @DocsEditable() 96 @DocsEditable()
95 double get duration native "AudioBuffer_duration_Getter"; 97 double get duration native "AudioBuffer_duration_Getter";
96 98
97 @DomName('AudioBuffer.gain') 99 @DomName('AudioBuffer.gain')
98 @DocsEditable() 100 @DocsEditable()
99 num get gain native "AudioBuffer_gain_Getter"; 101 num get gain native "AudioBuffer_gain_Getter";
100 102
101 @DomName('AudioBuffer.gain') 103 @DomName('AudioBuffer.gain')
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // BSD-style license that can be found in the LICENSE file. 504 // BSD-style license that can be found in the LICENSE file.
503 505
504 // WARNING: Do not edit - generated code. 506 // WARNING: Do not edit - generated code.
505 507
506 508
507 @DocsEditable() 509 @DocsEditable()
508 @DomName('AudioListener') 510 @DomName('AudioListener')
509 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 511 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
510 @Experimental() 512 @Experimental()
511 class AudioListener extends NativeFieldWrapperClass1 { 513 class AudioListener extends NativeFieldWrapperClass1 {
514 // To suppress missing implicit constructor warnings.
515 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
512 516
513 @DomName('AudioListener.dopplerFactor') 517 @DomName('AudioListener.dopplerFactor')
514 @DocsEditable() 518 @DocsEditable()
515 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; 519 num get dopplerFactor native "AudioListener_dopplerFactor_Getter";
516 520
517 @DomName('AudioListener.dopplerFactor') 521 @DomName('AudioListener.dopplerFactor')
518 @DocsEditable() 522 @DocsEditable()
519 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; 523 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter";
520 524
521 @DomName('AudioListener.speedOfSound') 525 @DomName('AudioListener.speedOfSound')
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 // BSD-style license that can be found in the LICENSE file. 636 // BSD-style license that can be found in the LICENSE file.
633 637
634 // WARNING: Do not edit - generated code. 638 // WARNING: Do not edit - generated code.
635 639
636 640
637 @DocsEditable() 641 @DocsEditable()
638 @DomName('AudioParam') 642 @DomName('AudioParam')
639 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 643 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
640 @Experimental() 644 @Experimental()
641 class AudioParam extends NativeFieldWrapperClass1 { 645 class AudioParam extends NativeFieldWrapperClass1 {
646 // To suppress missing implicit constructor warnings.
647 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
642 648
643 @DomName('AudioParam.defaultValue') 649 @DomName('AudioParam.defaultValue')
644 @DocsEditable() 650 @DocsEditable()
645 double get defaultValue native "AudioParam_defaultValue_Getter"; 651 double get defaultValue native "AudioParam_defaultValue_Getter";
646 652
647 @DomName('AudioParam.maxValue') 653 @DomName('AudioParam.maxValue')
648 @DocsEditable() 654 @DocsEditable()
649 double get maxValue native "AudioParam_maxValue_Getter"; 655 double get maxValue native "AudioParam_maxValue_Getter";
650 656
651 @DomName('AudioParam.minValue') 657 @DomName('AudioParam.minValue')
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 // for details. All rights reserved. Use of this source code is governed by a 1314 // for details. All rights reserved. Use of this source code is governed by a
1309 // BSD-style license that can be found in the LICENSE file. 1315 // BSD-style license that can be found in the LICENSE file.
1310 1316
1311 // WARNING: Do not edit - generated code. 1317 // WARNING: Do not edit - generated code.
1312 1318
1313 1319
1314 @DocsEditable() 1320 @DocsEditable()
1315 @DomName('PeriodicWave') 1321 @DomName('PeriodicWave')
1316 @Experimental() // untriaged 1322 @Experimental() // untriaged
1317 class PeriodicWave extends NativeFieldWrapperClass1 { 1323 class PeriodicWave extends NativeFieldWrapperClass1 {
1324 // To suppress missing implicit constructor warnings.
1325 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
1318 1326
1319 } 1327 }
1320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1321 // for details. All rights reserved. Use of this source code is governed by a 1329 // for details. All rights reserved. Use of this source code is governed by a
1322 // BSD-style license that can be found in the LICENSE file. 1330 // BSD-style license that can be found in the LICENSE file.
1323 1331
1324 // WARNING: Do not edit - generated code. 1332 // WARNING: Do not edit - generated code.
1325 1333
1326 1334
1327 @DocsEditable() 1335 @DocsEditable()
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 1392
1385 @DomName('WaveShaperNode.oversample') 1393 @DomName('WaveShaperNode.oversample')
1386 @DocsEditable() 1394 @DocsEditable()
1387 String get oversample native "WaveShaperNode_oversample_Getter"; 1395 String get oversample native "WaveShaperNode_oversample_Getter";
1388 1396
1389 @DomName('WaveShaperNode.oversample') 1397 @DomName('WaveShaperNode.oversample')
1390 @DocsEditable() 1398 @DocsEditable()
1391 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; 1399 void set oversample(String value) native "WaveShaperNode_oversample_Setter";
1392 1400
1393 } 1401 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | sdk/lib/web_gl/dart2js/web_gl_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698