| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 DOMString url; | 98 DOMString url; |
| 99 DOMString functionName; | 99 DOMString functionName; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 dictionary ManifestError { | 102 dictionary ManifestError { |
| 103 ErrorType type; | 103 ErrorType type; |
| 104 DOMString extensionId; | 104 DOMString extensionId; |
| 105 boolean fromIncognito; | 105 boolean fromIncognito; |
| 106 DOMString source; | 106 DOMString source; |
| 107 DOMString message; | 107 DOMString message; |
| 108 long id; |
| 108 DOMString manifestKey; | 109 DOMString manifestKey; |
| 109 DOMString? manifestSpecific; | 110 DOMString? manifestSpecific; |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 dictionary RuntimeError { | 113 dictionary RuntimeError { |
| 113 ErrorType type; | 114 ErrorType type; |
| 114 DOMString extensionId; | 115 DOMString extensionId; |
| 115 boolean fromIncognito; | 116 boolean fromIncognito; |
| 116 DOMString source; | 117 DOMString source; |
| 117 DOMString message; | 118 DOMString message; |
| 119 long id; |
| 118 ErrorLevel severity; | 120 ErrorLevel severity; |
| 119 DOMString contextUrl; | 121 DOMString contextUrl; |
| 120 long occurrences; | 122 long occurrences; |
| 121 long renderViewId; | 123 long renderViewId; |
| 122 long renderProcessId; | 124 long renderProcessId; |
| 123 boolean canInspect; | 125 boolean canInspect; |
| 124 StackFrame[] stackTrace; | 126 StackFrame[] stackTrace; |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 dictionary DisableReasons { | 129 dictionary DisableReasons { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 enum EventType { | 280 enum EventType { |
| 279 INSTALLED, | 281 INSTALLED, |
| 280 UNINSTALLED, | 282 UNINSTALLED, |
| 281 LOADED, | 283 LOADED, |
| 282 UNLOADED, | 284 UNLOADED, |
| 283 // New window / view opened. | 285 // New window / view opened. |
| 284 VIEW_REGISTERED, | 286 VIEW_REGISTERED, |
| 285 // window / view closed. | 287 // window / view closed. |
| 286 VIEW_UNREGISTERED, | 288 VIEW_UNREGISTERED, |
| 287 ERROR_ADDED, | 289 ERROR_ADDED, |
| 290 ERRORS_REMOVED, |
| 288 PREFS_CHANGED | 291 PREFS_CHANGED |
| 289 }; | 292 }; |
| 290 | 293 |
| 291 dictionary PackDirectoryResponse { | 294 dictionary PackDirectoryResponse { |
| 292 // The response message of success or error. | 295 // The response message of success or error. |
| 293 DOMString message; | 296 DOMString message; |
| 294 | 297 |
| 295 // Unpacked items's path. | 298 // Unpacked items's path. |
| 296 DOMString item_path; | 299 DOMString item_path; |
| 297 | 300 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 static void inspect(InspectOptions options, | 532 static void inspect(InspectOptions options, |
| 530 optional VoidCallback callback); | 533 optional VoidCallback callback); |
| 531 }; | 534 }; |
| 532 | 535 |
| 533 interface Events { | 536 interface Events { |
| 534 // Fired when a item state is changed. | 537 // Fired when a item state is changed. |
| 535 static void onItemStateChanged(EventData response); | 538 static void onItemStateChanged(EventData response); |
| 536 }; | 539 }; |
| 537 | 540 |
| 538 }; | 541 }; |
| OLD | NEW |