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

Side by Side Diff: sdk/lib/chrome/dart2js/chrome_dart2js.dart

Issue 11958026: Stubbing out the initial library for Chrome application support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 7 years, 11 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
OLDNEW
(Empty)
1 library chrome;
2
3 // DO NOT EDIT
4 // Auto-generated dart:chrome library.
5
6
7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
ahe 2013/01/17 18:41:27 I think the copyright needs to go in the beginning
blois 2013/01/17 21:03:30 Done. Though note that the copyright is still pre
8 // for details. All rights reserved. Use of this source code is governed by a
9 // BSD-style license that can be found in the LICENSE file.
10
11
12
13 class AppModule {
ahe 2013/01/17 18:41:27 This class is not documented.
blois 2013/01/17 21:03:30 This is placeholder code which will be deleted. Th
14 AppModule._();
15
16 WindowModule get window => new WindowModule._();
17 }
18
19 class WindowModule {
ahe 2013/01/17 18:41:27 This class is not documented.
blois 2013/01/17 21:03:30 Ditto, this will be removed.
20 WindowModule._();
21
22 void create(String url) {
23 JS('void', 'chrome.app.window.create(#)', url);
ahe 2013/01/17 18:41:27 I think this should be: var chrome = JS('', 'chro
blois 2013/01/17 21:03:30 Done.
24 }
25 }
26
27 final app = new AppModule._();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698