| OLD | NEW |
| 1 library chrome; | 1 library chrome; |
| 2 | 2 |
| 3 import 'dart:_foreign_helper' show JS; | 3 import 'dart:_foreign_helper' show JS; |
| 4 import 'dart:_js_helper'; | 4 import 'dart:_js_helper'; |
| 5 import 'dart:html_common'; | 5 import 'dart:html_common'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 | 7 |
| 8 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 8 // 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 | 9 // 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. | 10 // BSD-style license that can be found in the LICENSE file. |
| 11 | 11 |
| 12 // DO NOT EDIT | 12 // DO NOT EDIT - unless you are editing documentation as per: |
| 13 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 13 // Auto-generated dart:chrome library. | 14 // Auto-generated dart:chrome library. |
| 14 | 15 |
| 15 /// Native wrappers for the Chrome Packaged App APIs. | 16 /// Native wrappers for the Chrome Packaged App APIs. |
| 16 /// | 17 /// |
| 17 /// These functions allow direct access to the Packaged App APIs, allowing | 18 /// These functions allow direct access to the Packaged App APIs, allowing |
| 18 /// Chrome Packaged Apps to be written using Dart. | 19 /// Chrome Packaged Apps to be written using Dart. |
| 19 /// | 20 /// |
| 20 /// For more information on these APIs, see the Chrome.* APIs Documentation: | 21 /// For more information on these APIs, see the Chrome.* APIs Documentation: |
| 21 /// http://developer.chrome.com/extensions/api_index.html | 22 /// http://developer.chrome.com/extensions/api_index.html |
| 22 | 23 |
| (...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1115 /// postIntentResponse is an internal method to responds to an intent | 1116 /// postIntentResponse is an internal method to responds to an intent |
| 1116 /// 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 |
| 1117 /// should only be invoked at most once per intentId. | 1118 /// should only be invoked at most once per intentId. |
| 1118 void postIntentResponse(AppRuntimeIntentResponse intentResponse) => JS('void',
'#.postIntentResponse(#)', this._jsObject, convertArgument(intentResponse)); | 1119 void postIntentResponse(AppRuntimeIntentResponse intentResponse) => JS('void',
'#.postIntentResponse(#)', this._jsObject, convertArgument(intentResponse)); |
| 1119 | 1120 |
| 1120 API_app_runtime(this._jsObject) { | 1121 API_app_runtime(this._jsObject) { |
| 1121 onLaunched = new Event_app_runtime_onLaunched(JS('', '#.onLaunched', this._j
sObject)); | 1122 onLaunched = new Event_app_runtime_onLaunched(JS('', '#.onLaunched', this._j
sObject)); |
| 1122 onRestarted = new Event_app_runtime_onRestarted(JS('', '#.onRestarted', this
._jsObject)); | 1123 onRestarted = new Event_app_runtime_onRestarted(JS('', '#.onRestarted', this
._jsObject)); |
| 1123 } | 1124 } |
| 1124 } | 1125 } |
| OLD | NEW |