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 // developerPrivate API. | 5 // developerPrivate API. |
6 // This is a private API exposing developing and debugging functionalities for | 6 // This is a private API exposing developing and debugging functionalities for |
7 // apps and extensions. | 7 // apps and extensions. |
8 namespace developerPrivate { | 8 namespace developerPrivate { |
9 | 9 |
10 enum ItemType { | 10 enum ItemType { |
11 hosted_app, | 11 hosted_app, |
12 packaged_app, | 12 packaged_app, |
13 legacy_packaged_app, | 13 legacy_packaged_app, |
14 extension, | 14 extension, |
15 theme | 15 theme |
16 }; | 16 }; |
17 | 17 |
18 dictionary ItemInspectView { | 18 dictionary ItemInspectView { |
19 // path to the inspect page. | 19 // path to the inspect page. |
20 DOMString path; | 20 DOMString path; |
21 | 21 |
22 // For lazy background pages, the value is -1. | 22 // For lazy background pages, the value is -1. |
23 long render_process_id; | 23 long render_process_id; |
24 | 24 |
25 long render_view_id; | 25 long render_view_id; |
26 boolean incognito; | 26 boolean incognito; |
27 }; | 27 }; |
28 | 28 |
29 dictionary InstallWarning { | 29 dictionary InstallWarning { |
30 boolean is_html; | |
31 DOMString message; | 30 DOMString message; |
32 }; | 31 }; |
33 | 32 |
34 dictionary ItemInfo { | 33 dictionary ItemInfo { |
35 DOMString id; | 34 DOMString id; |
36 DOMString name; | 35 DOMString name; |
37 DOMString version; | 36 DOMString version; |
38 DOMString description; | 37 DOMString description; |
39 boolean may_disable; | 38 boolean may_disable; |
40 boolean enabled; | 39 boolean enabled; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // translated string to use in the apps_debugger app UI. | 207 // translated string to use in the apps_debugger app UI. |
209 static void getStrings(GetStringsCallback callback); | 208 static void getStrings(GetStringsCallback callback); |
210 }; | 209 }; |
211 | 210 |
212 interface Events { | 211 interface Events { |
213 // Fired when a item state is changed. | 212 // Fired when a item state is changed. |
214 static void onItemStateChanged(EventData response); | 213 static void onItemStateChanged(EventData response); |
215 }; | 214 }; |
216 | 215 |
217 }; | 216 }; |
OLD | NEW |