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

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

Issue 8872040: JavaScriptAudioNode is an EventTarget. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 | « no previous file | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4311 matching lines...) Expand 10 before | Expand all | Expand 10 after
4322 int operator[](int index) native; 4322 int operator[](int index) native;
4323 4323
4324 void operator[]=(int index, int value) native; 4324 void operator[]=(int index, int value) native;
4325 4325
4326 Int8Array subarray(int start, [int end = null]) native; 4326 Int8Array subarray(int start, [int end = null]) native;
4327 } 4327 }
4328 4328
4329 class JavaScriptAudioNode extends AudioNode native "*JavaScriptAudioNode" { 4329 class JavaScriptAudioNode extends AudioNode native "*JavaScriptAudioNode" {
4330 4330
4331 int bufferSize; 4331 int bufferSize;
4332
4333 // From EventTarget
4334
4335 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4336
4337 bool dispatchEvent(Event event) native;
4338
4339 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4332 } 4340 }
4333 4341
4334 class JavaScriptCallFrame native "*JavaScriptCallFrame" { 4342 class JavaScriptCallFrame native "*JavaScriptCallFrame" {
4335 4343
4336 static final int CATCH_SCOPE = 4; 4344 static final int CATCH_SCOPE = 4;
4337 4345
4338 static final int CLOSURE_SCOPE = 3; 4346 static final int CLOSURE_SCOPE = 3;
4339 4347
4340 static final int GLOBAL_SCOPE = 0; 4348 static final int GLOBAL_SCOPE = 0;
4341 4349
(...skipping 6996 matching lines...) Expand 10 before | Expand all | Expand 10 after
11338 startIndex = a.length - 1; 11346 startIndex = a.length - 1;
11339 } 11347 }
11340 for (int i = startIndex; i >= 0; i--) { 11348 for (int i = startIndex; i >= 0; i--) {
11341 if (a[i] == element) { 11349 if (a[i] == element) {
11342 return i; 11350 return i;
11343 } 11351 }
11344 } 11352 }
11345 return -1; 11353 return -1;
11346 } 11354 }
11347 } 11355 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698