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

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

Issue 10483004: Add PositionOptions type to registry. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « lib/dom/dom.dart ('k') | lib/dom/scripts/generator.py » ('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) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, 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. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 2587 matching lines...) Expand 10 before | Expand all | Expand 10 after
2598 2598
2599 void setElements(Object array, [int offset = null]) native 'set'; 2599 void setElements(Object array, [int offset = null]) native 'set';
2600 2600
2601 _Float64ArrayJs subarray(int start, [int end = null]) native; 2601 _Float64ArrayJs subarray(int start, [int end = null]) native;
2602 } 2602 }
2603 2603
2604 class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocat ion" { 2604 class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocat ion" {
2605 2605
2606 void clearWatch(int watchId) native; 2606 void clearWatch(int watchId) native;
2607 2607
2608 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) native; 2608 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null, Object options = null]) native;
2609 2609
2610 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) native; 2610 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null, Object options = null]) native;
2611 } 2611 }
2612 2612
2613 class _GeopositionJs extends _DOMTypeJs implements Geoposition native "*Geoposit ion" { 2613 class _GeopositionJs extends _DOMTypeJs implements Geoposition native "*Geoposit ion" {
2614 2614
2615 final _CoordinatesJs coords; 2615 final _CoordinatesJs coords;
2616 2616
2617 final int timestamp; 2617 final int timestamp;
2618 } 2618 }
2619 2619
2620 class _HTMLAllCollectionJs extends _DOMTypeJs implements HTMLAllCollection nativ e "*HTMLAllCollection" { 2620 class _HTMLAllCollectionJs extends _DOMTypeJs implements HTMLAllCollection nativ e "*HTMLAllCollection" {
(...skipping 12476 matching lines...) Expand 10 before | Expand all | Expand 10 after
15097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15098 // for details. All rights reserved. Use of this source code is governed by a 15098 // for details. All rights reserved. Use of this source code is governed by a
15099 // BSD-style license that can be found in the LICENSE file. 15099 // BSD-style license that can be found in the LICENSE file.
15100 15100
15101 // WARNING: Do not edit - generated code. 15101 // WARNING: Do not edit - generated code.
15102 15102
15103 interface Geolocation { 15103 interface Geolocation {
15104 15104
15105 void clearWatch(int watchId); 15105 void clearWatch(int watchId);
15106 15106
15107 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback]); 15107 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback, Object options]);
15108 15108
15109 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback]); 15109 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback, Object options]);
15110 } 15110 }
15111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15112 // for details. All rights reserved. Use of this source code is governed by a 15112 // for details. All rights reserved. Use of this source code is governed by a
15113 // BSD-style license that can be found in the LICENSE file. 15113 // BSD-style license that can be found in the LICENSE file.
15114 15114
15115 // WARNING: Do not edit - generated code. 15115 // WARNING: Do not edit - generated code.
15116 15116
15117 interface Geoposition { 15117 interface Geoposition {
15118 15118
15119 final Coordinates coords; 15119 final Coordinates coords;
(...skipping 10122 matching lines...) Expand 10 before | Expand all | Expand 10 after
25242 if (length < 0) throw new IllegalArgumentException('length'); 25242 if (length < 0) throw new IllegalArgumentException('length');
25243 if (start < 0) throw new IndexOutOfRangeException(start); 25243 if (start < 0) throw new IndexOutOfRangeException(start);
25244 int end = start + length; 25244 int end = start + length;
25245 if (end > a.length) throw new IndexOutOfRangeException(end); 25245 if (end > a.length) throw new IndexOutOfRangeException(end);
25246 for (int i = start; i < end; i++) { 25246 for (int i = start; i < end; i++) {
25247 accumulator.add(a[i]); 25247 accumulator.add(a[i]);
25248 } 25248 }
25249 return accumulator; 25249 return accumulator;
25250 } 25250 }
25251 } 25251 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698