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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11280077: Removed Window.focus and Window.blur as they are no longer recommended. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 html; 1 library html;
2 2
3 import 'dart:isolate'; 3 import 'dart:isolate';
4 import 'dart:json'; 4 import 'dart:json';
5 import 'dart:svg' as svg; 5 import 'dart:svg' as svg;
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7 // for details. All rights reserved. Use of this source code is governed by a 7 // for details. All rights reserved. Use of this source code is governed by a
8 // BSD-style license that can be found in the LICENSE file. 8 // BSD-style license that can be found in the LICENSE file.
9 9
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 22135 matching lines...) Expand 10 before | Expand all | Expand 10 after
22146 // Fields. 22146 // Fields.
22147 Location get location; 22147 Location get location;
22148 History get history; 22148 History get history;
22149 22149
22150 bool get closed; 22150 bool get closed;
22151 Window get opener; 22151 Window get opener;
22152 Window get parent; 22152 Window get parent;
22153 Window get top; 22153 Window get top;
22154 22154
22155 // Methods. 22155 // Methods.
22156 void focus();
22157 void blur();
22158 void close(); 22156 void close();
22159 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ; 22157 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ;
22160 } 22158 }
22161 22159
22162 abstract class Location { 22160 abstract class Location {
22163 void set href(String val); 22161 void set href(String val);
22164 } 22162 }
22165 22163
22166 abstract class History { 22164 abstract class History {
22167 void back(); 22165 void back();
(...skipping 2823 matching lines...) Expand 10 before | Expand all | Expand 10 after
24991 if (length < 0) throw new ArgumentError('length'); 24989 if (length < 0) throw new ArgumentError('length');
24992 if (start < 0) throw new RangeError.value(start); 24990 if (start < 0) throw new RangeError.value(start);
24993 int end = start + length; 24991 int end = start + length;
24994 if (end > a.length) throw new RangeError.value(end); 24992 if (end > a.length) throw new RangeError.value(end);
24995 for (int i = start; i < end; i++) { 24993 for (int i = start; i < end; i++) {
24996 accumulator.add(a[i]); 24994 accumulator.add(a[i]);
24997 } 24995 }
24998 return accumulator; 24996 return accumulator;
24999 } 24997 }
25000 } 24998 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/html/src/CrossFrameTypes.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698