| 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 [use_movable_types=true] namespace developerPrivate { |
| 9 | 9 |
| 10 // DEPRECATED: Prefer ExtensionType. | 10 // DEPRECATED: Prefer ExtensionType. |
| 11 enum ItemType { | 11 enum ItemType { |
| 12 hosted_app, | 12 hosted_app, |
| 13 packaged_app, | 13 packaged_app, |
| 14 legacy_packaged_app, | 14 legacy_packaged_app, |
| 15 extension, | 15 extension, |
| 16 theme | 16 theme |
| 17 }; | 17 }; |
| 18 | 18 |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 | 583 |
| 584 interface Events { | 584 interface Events { |
| 585 // Fired when a item state is changed. | 585 // Fired when a item state is changed. |
| 586 static void onItemStateChanged(EventData response); | 586 static void onItemStateChanged(EventData response); |
| 587 | 587 |
| 588 // Fired when the profile's state has changed. | 588 // Fired when the profile's state has changed. |
| 589 static void onProfileStateChanged(ProfileInfo info); | 589 static void onProfileStateChanged(ProfileInfo info); |
| 590 }; | 590 }; |
| 591 | 591 |
| 592 }; | 592 }; |
| OLD | NEW |