| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 INSTALLED, | 281 INSTALLED, |
| 282 UNINSTALLED, | 282 UNINSTALLED, |
| 283 LOADED, | 283 LOADED, |
| 284 UNLOADED, | 284 UNLOADED, |
| 285 // New window / view opened. | 285 // New window / view opened. |
| 286 VIEW_REGISTERED, | 286 VIEW_REGISTERED, |
| 287 // window / view closed. | 287 // window / view closed. |
| 288 VIEW_UNREGISTERED, | 288 VIEW_UNREGISTERED, |
| 289 ERROR_ADDED, | 289 ERROR_ADDED, |
| 290 ERRORS_REMOVED, | 290 ERRORS_REMOVED, |
| 291 PREFS_CHANGED | 291 PREFS_CHANGED, |
| 292 WARNINGS_CHANGED |
| 292 }; | 293 }; |
| 293 | 294 |
| 294 dictionary PackDirectoryResponse { | 295 dictionary PackDirectoryResponse { |
| 295 // The response message of success or error. | 296 // The response message of success or error. |
| 296 DOMString message; | 297 DOMString message; |
| 297 | 298 |
| 298 // Unpacked items's path. | 299 // Unpacked items's path. |
| 299 DOMString item_path; | 300 DOMString item_path; |
| 300 | 301 |
| 301 // Permanent key path. | 302 // Permanent key path. |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 boolean allow, | 530 boolean allow, |
| 530 optional VoidCallback callback); | 531 optional VoidCallback callback); |
| 531 [nocompile, deprecated="Use openDevTools"] | 532 [nocompile, deprecated="Use openDevTools"] |
| 532 static void inspect(InspectOptions options, | 533 static void inspect(InspectOptions options, |
| 533 optional VoidCallback callback); | 534 optional VoidCallback callback); |
| 534 }; | 535 }; |
| 535 | 536 |
| 536 interface Events { | 537 interface Events { |
| 537 // Fired when a item state is changed. | 538 // Fired when a item state is changed. |
| 538 static void onItemStateChanged(EventData response); | 539 static void onItemStateChanged(EventData response); |
| 540 |
| 541 // Fired when the profile's state has changed. |
| 542 static void onProfileStateChanged(ProfileInfo info); |
| 539 }; | 543 }; |
| 540 | 544 |
| 541 }; | 545 }; |
| OLD | NEW |