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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 FROM_STORE, | 55 FROM_STORE, |
56 UNPACKED, | 56 UNPACKED, |
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 COMPONENT, |
65 EXTENSION_BACKGROUND_PAGE, | 66 EXTENSION_BACKGROUND_PAGE, |
66 EXTENSION_DIALOG, | 67 EXTENSION_DIALOG, |
67 EXTENSION_GUEST, | 68 EXTENSION_GUEST, |
68 EXTENSION_POPUP, | 69 EXTENSION_POPUP, |
69 LAUNCHER_PAGE, | 70 LAUNCHER_PAGE, |
70 PANEL, | 71 PANEL, |
71 TAB_CONTENTS, | 72 TAB_CONTENTS |
72 VIRTUAL_KEYBOARD | |
73 }; | 73 }; |
74 | 74 |
75 enum ErrorType { | 75 enum ErrorType { |
76 MANIFEST, | 76 MANIFEST, |
77 RUNTIME | 77 RUNTIME |
78 }; | 78 }; |
79 | 79 |
80 enum ErrorLevel { | 80 enum ErrorLevel { |
81 LOG, | 81 LOG, |
82 WARN, | 82 WARN, |
(...skipping 500 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 |