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

Side by Side Diff: client/dom/frog/frog_dom.dart

Issue 8873008: Added constructor for AudioContext for dartc and frog (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
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 #native('frog_dom.js'); 3 #native('frog_dom.js');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a 5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
7 7
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated Dart DOM library. 9 // Auto-generated Dart DOM library.
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void noteOn(num when) native; 105 void noteOn(num when) native;
106 } 106 }
107 107
108 class AudioChannelMerger extends AudioNode native "*AudioChannelMerger" { 108 class AudioChannelMerger extends AudioNode native "*AudioChannelMerger" {
109 } 109 }
110 110
111 class AudioChannelSplitter extends AudioNode native "*AudioChannelSplitter" { 111 class AudioChannelSplitter extends AudioNode native "*AudioChannelSplitter" {
112 } 112 }
113 113
114 class AudioContext native "*AudioContext" { 114 class AudioContext native "*AudioContext" {
115 AudioContext() native;
116
115 117
116 num currentTime; 118 num currentTime;
117 119
118 AudioDestinationNode destination; 120 AudioDestinationNode destination;
119 121
120 AudioListener listener; 122 AudioListener listener;
121 123
122 num sampleRate; 124 num sampleRate;
123 125
124 RealtimeAnalyserNode createAnalyser() native; 126 RealtimeAnalyserNode createAnalyser() native;
(...skipping 11175 matching lines...) Expand 10 before | Expand all | Expand 10 after
11300 startIndex = a.length - 1; 11302 startIndex = a.length - 1;
11301 } 11303 }
11302 for (int i = startIndex; i >= 0; i--) { 11304 for (int i = startIndex; i >= 0; i--) {
11303 if (a[i] == element) { 11305 if (a[i] == element) {
11304 return i; 11306 return i;
11305 } 11307 }
11306 } 11308 }
11307 return -1; 11309 return -1;
11308 } 11310 }
11309 } 11311 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/AudioContext.dart » ('j') | client/dom/generated/src/frog/AudioContext.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698