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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 THIRD_PARTY, | 57 THIRD_PARTY, |
58 // "Unknown" includes crx's installed from chrome://extensions. | 58 // "Unknown" includes crx's installed from chrome://extensions. |
59 UNKNOWN | 59 UNKNOWN |
60 }; | 60 }; |
61 | 61 |
62 enum ViewType { | 62 enum ViewType { |
63 APP_WINDOW, | 63 APP_WINDOW, |
64 BACKGROUND_CONTENTS, | 64 BACKGROUND_CONTENTS, |
65 EXTENSION_BACKGROUND_PAGE, | 65 EXTENSION_BACKGROUND_PAGE, |
66 EXTENSION_DIALOG, | 66 EXTENSION_DIALOG, |
| 67 EXTENSION_OPTIONS, |
67 EXTENSION_POPUP, | 68 EXTENSION_POPUP, |
68 LAUNCHER_PAGE, | 69 LAUNCHER_PAGE, |
69 PANEL, | 70 PANEL, |
70 TAB_CONTENTS, | 71 TAB_CONTENTS, |
71 VIRTUAL_KEYBOARD | 72 VIRTUAL_KEYBOARD |
72 }; | 73 }; |
73 | 74 |
74 enum ErrorType { | 75 enum ErrorType { |
75 MANIFEST, | 76 MANIFEST, |
76 RUNTIME | 77 RUNTIME |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 | 583 |
583 interface Events { | 584 interface Events { |
584 // Fired when a item state is changed. | 585 // Fired when a item state is changed. |
585 static void onItemStateChanged(EventData response); | 586 static void onItemStateChanged(EventData response); |
586 | 587 |
587 // Fired when the profile's state has changed. | 588 // Fired when the profile's state has changed. |
588 static void onProfileStateChanged(ProfileInfo info); | 589 static void onProfileStateChanged(ProfileInfo info); |
589 }; | 590 }; |
590 | 591 |
591 }; | 592 }; |
OLD | NEW |