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

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

Issue 12315102: Fix copy_dart to correctly put library comments BEFORE the library directive. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « no previous file | sdk/lib/chrome/dartium/chrome_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// Native wrappers for the Chrome Packaged App APIs.
2 ///
3 /// These functions allow direct access to the Packaged App APIs, allowing
4 /// Chrome Packaged Apps to be written using Dart.
5 ///
6 /// For more information on these APIs, see the
7 /// [Chrome APIs Documentation](http://developer.chrome.com/extensions/api_index .html)
1 library chrome; 8 library chrome;
2 9
3 import 'dart:_foreign_helper' show JS; 10 import 'dart:_foreign_helper' show JS;
4 import 'dart:_js_helper'; 11 import 'dart:_js_helper';
5 import 'dart:html_common'; 12 import 'dart:html_common';
6 import 'dart:html'; 13 import 'dart:html';
7 14
8 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 15 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
9 // for details. All rights reserved. Use of this source code is governed by a 16 // for details. All rights reserved. Use of this source code is governed by a
10 // BSD-style license that can be found in the LICENSE file. 17 // BSD-style license that can be found in the LICENSE file.
11 18
12 // DO NOT EDIT - unless you are editing documentation as per: 19 // DO NOT EDIT - unless you are editing documentation as per:
13 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 20 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
14 // Auto-generated dart:chrome library. 21 // Auto-generated dart:chrome library.
15 22
16 /// Native wrappers for the Chrome Packaged App APIs.
17 ///
18 /// These functions allow direct access to the Packaged App APIs, allowing
19 /// Chrome Packaged Apps to be written using Dart.
20 ///
21 /// For more information on these APIs, see the Chrome.* APIs Documentation:
22 /// http://developer.chrome.com/extensions/api_index.html
23 23
24 /* TODO(sashab): Add "show convertDartClosureToJS" once 'show' works. */ 24 /* TODO(sashab): Add "show convertDartClosureToJS" once 'show' works. */
25 25
26 26
27 // Generated files below this line. 27 // Generated files below this line.
28 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 28 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
29 // for details. All rights reserved. Use of this source code is governed by a 29 // for details. All rights reserved. Use of this source code is governed by a
30 // BSD-style license that can be found in the LICENSE file. 30 // BSD-style license that can be found in the LICENSE file.
31 31
32 /** 32 /**
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 /// postIntentResponse is an internal method to responds to an intent 1116 /// postIntentResponse is an internal method to responds to an intent
1117 /// previously sent to a packaged app. This is identified by intentId, and 1117 /// previously sent to a packaged app. This is identified by intentId, and
1118 /// should only be invoked at most once per intentId. 1118 /// should only be invoked at most once per intentId.
1119 void postIntentResponse(AppRuntimeIntentResponse intentResponse) => JS('void', '#.postIntentResponse(#)', this._jsObject, convertArgument(intentResponse)); 1119 void postIntentResponse(AppRuntimeIntentResponse intentResponse) => JS('void', '#.postIntentResponse(#)', this._jsObject, convertArgument(intentResponse));
1120 1120
1121 API_app_runtime(this._jsObject) { 1121 API_app_runtime(this._jsObject) {
1122 onLaunched = new Event_app_runtime_onLaunched(JS('', '#.onLaunched', this._j sObject)); 1122 onLaunched = new Event_app_runtime_onLaunched(JS('', '#.onLaunched', this._j sObject));
1123 onRestarted = new Event_app_runtime_onRestarted(JS('', '#.onRestarted', this ._jsObject)); 1123 onRestarted = new Event_app_runtime_onRestarted(JS('', '#.onRestarted', this ._jsObject));
1124 } 1124 }
1125 } 1125 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/chrome/dartium/chrome_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698