Chromium Code Reviews| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 dictionary ExtensionView { | 145 dictionary ExtensionView { |
| 146 DOMString url; | 146 DOMString url; |
| 147 long renderProcessId; | 147 long renderProcessId; |
| 148 long renderViewId; | 148 long renderViewId; |
| 149 boolean incognito; | 149 boolean incognito; |
| 150 ViewType type; | 150 ViewType type; |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 enum ControlledBy { // see controlled_indicator.css | |
|
Devlin
2015/05/20 15:41:33
I don't really love the name "ControlledBy"... wha
Marc Treib
2015/05/20 16:51:45
Hm. I think I dislike both equally :D
That means i
| |
| 154 POLICY, | |
| 155 CHILD_CUSTODIAN, | |
| 156 SUPERVISED_USER_CUSTODIAN | |
| 157 }; | |
| 158 | |
| 159 dictionary ControlledInfo { | |
| 160 ControlledBy by; | |
| 161 DOMString text; | |
| 162 }; | |
| 163 | |
| 153 dictionary ExtensionInfo { | 164 dictionary ExtensionInfo { |
| 154 boolean actionButtonHidden; | 165 boolean actionButtonHidden; |
| 155 DOMString? blacklistText; | 166 DOMString? blacklistText; |
| 167 ControlledInfo? controlledInfo; | |
| 156 DOMString[] dependentExtensions; | 168 DOMString[] dependentExtensions; |
| 157 DOMString description; | 169 DOMString description; |
| 158 DisableReasons disableReasons; | 170 DisableReasons disableReasons; |
| 159 AccessModifier errorCollection; | 171 AccessModifier errorCollection; |
| 160 AccessModifier fileAccess; | 172 AccessModifier fileAccess; |
| 161 HomePage homePage; | 173 HomePage homePage; |
| 162 DOMString iconUrl; | 174 DOMString iconUrl; |
| 163 DOMString id; | 175 DOMString id; |
| 164 AccessModifier incognitoAccess; | 176 AccessModifier incognitoAccess; |
| 165 boolean installedByCustodian; | |
| 166 DOMString[] installWarnings; | 177 DOMString[] installWarnings; |
| 167 DOMString? launchUrl; | 178 DOMString? launchUrl; |
| 168 Location location; | 179 Location location; |
| 169 DOMString? locationText; | 180 DOMString? locationText; |
| 170 ManifestError[] manifestErrors; | 181 ManifestError[] manifestErrors; |
| 171 boolean mustRemainInstalled; | 182 boolean mustRemainInstalled; |
| 172 DOMString name; | 183 DOMString name; |
| 173 boolean offlineEnabled; | 184 boolean offlineEnabled; |
| 174 OptionsPage? optionsPage; | 185 OptionsPage? optionsPage; |
| 175 DOMString? path; | 186 DOMString? path; |
| 176 DOMString? policyText; | |
| 177 DOMString? prettifiedPath; | 187 DOMString? prettifiedPath; |
| 178 AccessModifier runOnAllUrls; | 188 AccessModifier runOnAllUrls; |
| 179 RuntimeError[] runtimeErrors; | 189 RuntimeError[] runtimeErrors; |
| 180 DOMString[] runtimeWarnings; | 190 DOMString[] runtimeWarnings; |
| 181 ExtensionState state; | 191 ExtensionState state; |
| 182 ExtensionType type; | 192 ExtensionType type; |
| 183 DOMString updateUrl; | 193 DOMString updateUrl; |
| 184 boolean userMayModify; | 194 boolean userMayModify; |
| 185 DOMString version; | 195 DOMString version; |
| 186 ExtensionView[] views; | 196 ExtensionView[] views; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 532 static void inspect(InspectOptions options, | 542 static void inspect(InspectOptions options, |
| 533 optional VoidCallback callback); | 543 optional VoidCallback callback); |
| 534 }; | 544 }; |
| 535 | 545 |
| 536 interface Events { | 546 interface Events { |
| 537 // Fired when a item state is changed. | 547 // Fired when a item state is changed. |
| 538 static void onItemStateChanged(EventData response); | 548 static void onItemStateChanged(EventData response); |
| 539 }; | 549 }; |
| 540 | 550 |
| 541 }; | 551 }; |
| OLD | NEW |