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

Side by Side Diff: sdk/lib/html/src/CrossFrameTypes.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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 /** 7 /**
8 * An object representing the top-level context object for web scripting. 8 * An object representing the top-level context object for web scripting.
9 * 9 *
10 * In a web browser, a [Window] object represents the actual browser window. 10 * In a web browser, a [Window] object represents the actual browser window.
(...skipping 13 matching lines...) Expand all
24 // Fields. 24 // Fields.
25 Location get location; 25 Location get location;
26 History get history; 26 History get history;
27 27
28 bool get closed; 28 bool get closed;
29 Window get opener; 29 Window get opener;
30 Window get parent; 30 Window get parent;
31 Window get top; 31 Window get top;
32 32
33 // Methods. 33 // Methods.
34 void focus();
35 void blur();
blois 2012/11/20 00:24:31 I believe that LocalWindow still has blur and focu
36 void close(); 34 void close();
37 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ; 35 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ;
38 } 36 }
39 37
40 abstract class Location { 38 abstract class Location {
41 void set href(String val); 39 void set href(String val);
42 } 40 }
43 41
44 abstract class History { 42 abstract class History {
45 void back(); 43 void back();
46 void forward(); 44 void forward();
47 void go(int distance); 45 void go(int distance);
48 } 46 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698