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 // DEPRECATED: Prefer ExtensionType. | 10 // DEPRECATED: Prefer ExtensionType. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 DOMString updateUrl; | 219 DOMString updateUrl; |
220 boolean userMayModify; | 220 boolean userMayModify; |
221 DOMString version; | 221 DOMString version; |
222 ExtensionView[] views; | 222 ExtensionView[] views; |
223 }; | 223 }; |
224 | 224 |
225 dictionary ProfileInfo { | 225 dictionary ProfileInfo { |
226 boolean appInfoDialogEnabled; | 226 boolean appInfoDialogEnabled; |
227 boolean canLoadUnpacked; | 227 boolean canLoadUnpacked; |
228 boolean inDeveloperMode; | 228 boolean inDeveloperMode; |
| 229 boolean isDeveloperModeControlledByPolicy; |
229 boolean isIncognitoAvailable; | 230 boolean isIncognitoAvailable; |
230 boolean isSupervised; | 231 boolean isSupervised; |
231 }; | 232 }; |
232 | 233 |
233 // DEPRECATED: Prefer ExtensionInfo. | 234 // DEPRECATED: Prefer ExtensionInfo. |
234 dictionary ItemInfo { | 235 dictionary ItemInfo { |
235 DOMString id; | 236 DOMString id; |
236 DOMString name; | 237 DOMString name; |
237 DOMString version; | 238 DOMString version; |
238 DOMString description; | 239 DOMString description; |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 | 591 |
591 interface Events { | 592 interface Events { |
592 // Fired when a item state is changed. | 593 // Fired when a item state is changed. |
593 static void onItemStateChanged(EventData response); | 594 static void onItemStateChanged(EventData response); |
594 | 595 |
595 // Fired when the profile's state has changed. | 596 // Fired when the profile's state has changed. |
596 static void onProfileStateChanged(ProfileInfo info); | 597 static void onProfileStateChanged(ProfileInfo info); |
597 }; | 598 }; |
598 | 599 |
599 }; | 600 }; |
OLD | NEW |