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

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

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Introducing AddStaticOperation Created 8 years, 7 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/idl/dart/dart.idl » ('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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 String item(int index) native; 1233 String item(int index) native;
1234 1234
1235 void remove(String token) native; 1235 void remove(String token) native;
1236 1236
1237 String toString() native; 1237 String toString() native;
1238 1238
1239 bool toggle(String token) native; 1239 bool toggle(String token) native;
1240 } 1240 }
1241 1241
1242 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { 1242 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" {
1243
1244 String createObjectURL(blob_OR_stream) native;
1245
1246 void revokeObjectURL(String url) native;
1247 } 1243 }
1248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1249 // for details. All rights reserved. Use of this source code is governed by a 1245 // for details. All rights reserved. Use of this source code is governed by a
1250 // BSD-style license that can be found in the LICENSE file. 1246 // BSD-style license that can be found in the LICENSE file.
1251 1247
1252 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" { 1248 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" {
1253 1249
1254 Window get _top() native "return this.top;"; 1250 Window get _top() native "return this.top;";
1255 1251
1256 // Override top to return secure wrapper. 1252 // Override top to return secure wrapper.
(...skipping 12417 matching lines...) Expand 10 before | Expand all | Expand 10 after
13674 } 13670 }
13675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13676 // for details. All rights reserved. Use of this source code is governed by a 13672 // for details. All rights reserved. Use of this source code is governed by a
13677 // BSD-style license that can be found in the LICENSE file. 13673 // BSD-style license that can be found in the LICENSE file.
13678 13674
13679 // WARNING: Do not edit - generated code. 13675 // WARNING: Do not edit - generated code.
13680 13676
13681 interface DOMURL default _DOMURLFactoryProvider { 13677 interface DOMURL default _DOMURLFactoryProvider {
13682 13678
13683 DOMURL(); 13679 DOMURL();
13684
13685 String createObjectURL(blob_OR_stream);
13686
13687 void revokeObjectURL(String url);
13688 } 13680 }
13689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13690 // for details. All rights reserved. Use of this source code is governed by a 13682 // for details. All rights reserved. Use of this source code is governed by a
13691 // BSD-style license that can be found in the LICENSE file. 13683 // BSD-style license that can be found in the LICENSE file.
13692 13684
13693 // WARNING: Do not edit - generated code. 13685 // WARNING: Do not edit - generated code.
13694 13686
13695 interface Window extends EventTarget { 13687 interface Window extends EventTarget {
13696 13688
13697 final DOMApplicationCache applicationCache; 13689 final DOMApplicationCache applicationCache;
(...skipping 11513 matching lines...) Expand 10 before | Expand all | Expand 10 after
25211 if (length < 0) throw new IllegalArgumentException('length'); 25203 if (length < 0) throw new IllegalArgumentException('length');
25212 if (start < 0) throw new IndexOutOfRangeException(start); 25204 if (start < 0) throw new IndexOutOfRangeException(start);
25213 int end = start + length; 25205 int end = start + length;
25214 if (end > a.length) throw new IndexOutOfRangeException(end); 25206 if (end > a.length) throw new IndexOutOfRangeException(end);
25215 for (int i = start; i < end; i++) { 25207 for (int i = start; i < end; i++) {
25216 accumulator.add(a[i]); 25208 accumulator.add(a[i]);
25217 } 25209 }
25218 return accumulator; 25210 return accumulator;
25219 } 25211 }
25220 } 25212 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698