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

Side by Side Diff: lib/dom/dom.dart

Issue 9997003: Add back @domName annotations to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated dom and html after sync Created 8 years, 8 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
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.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 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 DelayNode createDelayNode([num maxDelayTime]); 372 DelayNode createDelayNode([num maxDelayTime]);
373 373
374 DynamicsCompressorNode createDynamicsCompressor(); 374 DynamicsCompressorNode createDynamicsCompressor();
375 375
376 AudioGainNode createGainNode(); 376 AudioGainNode createGainNode();
377 377
378 JavaScriptAudioNode createJavaScriptNode(int bufferSize); 378 JavaScriptAudioNode createJavaScriptNode(int bufferSize);
379 379
380 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment); 380 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment);
381 381
382 Oscillator createOscillator();
383
384 AudioPannerNode createPanner(); 382 AudioPannerNode createPanner();
385 383
386 WaveShaperNode createWaveShaper(); 384 WaveShaperNode createWaveShaper();
387 385
388 WaveTable createWaveTable(Float32Array real, Float32Array imag);
389
390 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]); 386 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]);
391 387
392 void startRendering(); 388 void startRendering();
393 } 389 }
394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
395 // for details. All rights reserved. Use of this source code is governed by a 391 // for details. All rights reserved. Use of this source code is governed by a
396 // BSD-style license that can be found in the LICENSE file. 392 // BSD-style license that can be found in the LICENSE file.
397 393
398 // WARNING: Do not edit - generated code. 394 // WARNING: Do not edit - generated code.
399 395
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 DOMSelection getSelection(); 1812 DOMSelection getSelection();
1817 1813
1818 MediaQueryList matchMedia(String query); 1814 MediaQueryList matchMedia(String query);
1819 1815
1820 void moveBy(num x, num y); 1816 void moveBy(num x, num y);
1821 1817
1822 void moveTo(num x, num y); 1818 void moveTo(num x, num y);
1823 1819
1824 DOMWindow open(String url, String name, [String options]); 1820 DOMWindow open(String url, String name, [String options]);
1825 1821
1826 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
1827
1828 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); 1822 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]);
1829 1823
1830 void print(); 1824 void print();
1831 1825
1832 String prompt(String message, String defaultValue); 1826 String prompt(String message, String defaultValue);
1833 1827
1834 void releaseEvents(); 1828 void releaseEvents();
1835 1829
1836 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 1830 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
1837 1831
(...skipping 4513 matching lines...) Expand 10 before | Expand all | Expand 10 after
6351 final String name; 6345 final String name;
6352 6346
6353 String toString(); 6347 String toString();
6354 } 6348 }
6355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6356 // for details. All rights reserved. Use of this source code is governed by a 6350 // for details. All rights reserved. Use of this source code is governed by a
6357 // BSD-style license that can be found in the LICENSE file. 6351 // BSD-style license that can be found in the LICENSE file.
6358 6352
6359 // WARNING: Do not edit - generated code. 6353 // WARNING: Do not edit - generated code.
6360 6354
6361 interface Oscillator extends AudioSourceNode {
6362
6363 static final int CUSTOM = 4;
6364
6365 static final int SAWTOOTH = 2;
6366
6367 static final int SINE = 0;
6368
6369 static final int SQUARE = 1;
6370
6371 static final int TRIANGLE = 3;
6372
6373 final AudioParam detune;
6374
6375 final AudioParam frequency;
6376
6377 int type;
6378
6379 void setWaveTable(WaveTable waveTable);
6380 }
6381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6382 // for details. All rights reserved. Use of this source code is governed by a
6383 // BSD-style license that can be found in the LICENSE file.
6384
6385 // WARNING: Do not edit - generated code.
6386
6387 interface OverflowEvent extends Event { 6355 interface OverflowEvent extends Event {
6388 6356
6389 static final int BOTH = 2; 6357 static final int BOTH = 2;
6390 6358
6391 static final int HORIZONTAL = 0; 6359 static final int HORIZONTAL = 0;
6392 6360
6393 static final int VERTICAL = 1; 6361 static final int VERTICAL = 1;
6394 6362
6395 final bool horizontalOverflow; 6363 final bool horizontalOverflow;
6396 6364
(...skipping 4001 matching lines...) Expand 10 before | Expand all | Expand 10 after
10398 interface WaveShaperNode extends AudioNode { 10366 interface WaveShaperNode extends AudioNode {
10399 10367
10400 Float32Array curve; 10368 Float32Array curve;
10401 } 10369 }
10402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10403 // for details. All rights reserved. Use of this source code is governed by a 10371 // for details. All rights reserved. Use of this source code is governed by a
10404 // BSD-style license that can be found in the LICENSE file. 10372 // BSD-style license that can be found in the LICENSE file.
10405 10373
10406 // WARNING: Do not edit - generated code. 10374 // WARNING: Do not edit - generated code.
10407 10375
10408 interface WaveTable {
10409 }
10410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10411 // for details. All rights reserved. Use of this source code is governed by a
10412 // BSD-style license that can be found in the LICENSE file.
10413
10414 // WARNING: Do not edit - generated code.
10415
10416 interface WebGLActiveInfo { 10376 interface WebGLActiveInfo {
10417 10377
10418 final String name; 10378 final String name;
10419 10379
10420 final int size; 10380 final int size;
10421 10381
10422 final int type; 10382 final int type;
10423 } 10383 }
10424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10425 // for details. All rights reserved. Use of this source code is governed by a 10385 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
11268 String getProgramInfoLog(WebGLProgram program); 11228 String getProgramInfoLog(WebGLProgram program);
11269 11229
11270 Object getProgramParameter(WebGLProgram program, int pname); 11230 Object getProgramParameter(WebGLProgram program, int pname);
11271 11231
11272 Object getRenderbufferParameter(int target, int pname); 11232 Object getRenderbufferParameter(int target, int pname);
11273 11233
11274 String getShaderInfoLog(WebGLShader shader); 11234 String getShaderInfoLog(WebGLShader shader);
11275 11235
11276 Object getShaderParameter(WebGLShader shader, int pname); 11236 Object getShaderParameter(WebGLShader shader, int pname);
11277 11237
11278 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis iontype);
11279
11280 String getShaderSource(WebGLShader shader); 11238 String getShaderSource(WebGLShader shader);
11281 11239
11282 Object getTexParameter(int target, int pname); 11240 Object getTexParameter(int target, int pname);
11283 11241
11284 Object getUniform(WebGLProgram program, WebGLUniformLocation location); 11242 Object getUniform(WebGLProgram program, WebGLUniformLocation location);
11285 11243
11286 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); 11244 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name);
11287 11245
11288 Object getVertexAttrib(int index, int pname); 11246 Object getVertexAttrib(int index, int pname);
11289 11247
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
11416 // WARNING: Do not edit - generated code. 11374 // WARNING: Do not edit - generated code.
11417 11375
11418 interface WebGLShader { 11376 interface WebGLShader {
11419 } 11377 }
11420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11421 // for details. All rights reserved. Use of this source code is governed by a 11379 // for details. All rights reserved. Use of this source code is governed by a
11422 // BSD-style license that can be found in the LICENSE file. 11380 // BSD-style license that can be found in the LICENSE file.
11423 11381
11424 // WARNING: Do not edit - generated code. 11382 // WARNING: Do not edit - generated code.
11425 11383
11426 interface WebGLShaderPrecisionFormat {
11427
11428 final int precision;
11429
11430 final int rangeMax;
11431
11432 final int rangeMin;
11433 }
11434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11435 // for details. All rights reserved. Use of this source code is governed by a
11436 // BSD-style license that can be found in the LICENSE file.
11437
11438 // WARNING: Do not edit - generated code.
11439
11440 interface WebGLTexture { 11384 interface WebGLTexture {
11441 } 11385 }
11442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11443 // for details. All rights reserved. Use of this source code is governed by a 11387 // for details. All rights reserved. Use of this source code is governed by a
11444 // BSD-style license that can be found in the LICENSE file. 11388 // BSD-style license that can be found in the LICENSE file.
11445 11389
11446 // WARNING: Do not edit - generated code. 11390 // WARNING: Do not edit - generated code.
11447 11391
11448 interface WebGLUniformLocation { 11392 interface WebGLUniformLocation {
11449 } 11393 }
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
11874 void clearInterval(int handle); 11818 void clearInterval(int handle);
11875 11819
11876 void clearTimeout(int handle); 11820 void clearTimeout(int handle);
11877 11821
11878 void close(); 11822 void close();
11879 11823
11880 bool dispatchEvent(Event evt); 11824 bool dispatchEvent(Event evt);
11881 11825
11882 void importScripts(); 11826 void importScripts();
11883 11827
11884 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
11885
11886 DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
11887
11888 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 11828 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11889 11829
11890 int setInterval(TimeoutHandler handler, int timeout); 11830 int setInterval(TimeoutHandler handler, int timeout);
11891 11831
11892 int setTimeout(TimeoutHandler handler, int timeout); 11832 int setTimeout(TimeoutHandler handler, int timeout);
11893 11833
11894 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]); 11834 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]);
11895 11835
11896 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); 11836 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size);
11897 11837
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
12845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12846 // for details. All rights reserved. Use of this source code is governed by a 12786 // for details. All rights reserved. Use of this source code is governed by a
12847 // BSD-style license that can be found in the LICENSE file. 12787 // BSD-style license that can be found in the LICENSE file.
12848 12788
12849 Window get window() => _dummy(); 12789 Window get window() => _dummy();
12850 12790
12851 // TODO(vsm): Remove when prefixes are supported. 12791 // TODO(vsm): Remove when prefixes are supported.
12852 Window get dom_window() => _dummy(); 12792 Window get dom_window() => _dummy();
12853 12793
12854 Document get document() => _dummy(); 12794 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698