OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 namespace app.runtime { | 5 namespace app.runtime { |
6 | 6 |
7 callback NullCallback = void (); | 7 callback NullCallback = void (); |
8 | 8 |
9 // A WebIntents intent object. | 9 // A WebIntents intent object. |
10 [inline_doc] dictionary Intent { | 10 [inline_doc] dictionary Intent { |
(...skipping 12 matching lines...) Expand all Loading... | |
23 // Callback to be compatible with WebIntents. | 23 // Callback to be compatible with WebIntents. |
24 NullCallback postFailure; | 24 NullCallback postFailure; |
25 }; | 25 }; |
26 | 26 |
27 // Optional data for the launch. | 27 // Optional data for the launch. |
28 [inline_doc] dictionary LaunchData { | 28 [inline_doc] dictionary LaunchData { |
29 Intent intent; | 29 Intent intent; |
30 }; | 30 }; |
31 | 31 |
32 interface Events { | 32 interface Events { |
33 static void onLaunched(optional LaunchData launchData); | 33 static void onLaunched(optional LaunchData launchData); |
Mihai Parparita -not on Chrome
2012/09/04 17:47:14
Mind adding docstrings for both of these events?
koz (OOO until 15th September)
2012/09/05 06:21:33
Done.
| |
34 static void onRestarted(); | |
34 }; | 35 }; |
35 | 36 |
36 }; | 37 }; |
OLD | NEW |