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

Side by Side Diff: sdk/lib/html/src/CrossFrameTypes.dart

Issue 11407002: Adding 'part of html' to all files which are used by dart:html. (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 // 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;
6
5 abstract class Window { 7 abstract class Window {
6 // Fields. 8 // Fields.
7 Location get location; 9 Location get location;
8 History get history; 10 History get history;
9 11
10 bool get closed; 12 bool get closed;
11 Window get opener; 13 Window get opener;
12 Window get parent; 14 Window get parent;
13 Window get top; 15 Window get top;
14 16
15 // Methods. 17 // Methods.
16 void focus(); 18 void focus();
17 void blur(); 19 void blur();
18 void close(); 20 void close();
19 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ; 21 void postMessage(var message, String targetOrigin, [List messagePorts = null]) ;
20 } 22 }
21 23
22 abstract class Location { 24 abstract class Location {
23 void set href(String val); 25 void set href(String val);
24 } 26 }
25 27
26 abstract class History { 28 abstract class History {
27 void back(); 29 void back();
28 void forward(); 30 void forward();
29 void go(int distance); 31 void go(int distance);
30 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698