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 // "Unknown" includes crx's installed from chrome://extensions. | 57 // "Unknown" includes crx's installed from chrome://extensions. |
58 UNKNOWN | 58 UNKNOWN |
59 }; | 59 }; |
60 | 60 |
61 enum ViewType { | 61 enum ViewType { |
62 APP_WINDOW, | 62 APP_WINDOW, |
63 BACKGROUND_CONTENTS, | 63 BACKGROUND_CONTENTS, |
64 EXTENSION_BACKGROUND_PAGE, | 64 EXTENSION_BACKGROUND_PAGE, |
65 EXTENSION_DIALOG, | 65 EXTENSION_DIALOG, |
66 EXTENSION_POPUP, | 66 EXTENSION_POPUP, |
| 67 EXTENSION_SIDEBAR, |
67 LAUNCHER_PAGE, | 68 LAUNCHER_PAGE, |
68 PANEL, | 69 PANEL, |
69 TAB_CONTENTS, | 70 TAB_CONTENTS, |
70 VIRTUAL_KEYBOARD | 71 VIRTUAL_KEYBOARD |
71 }; | 72 }; |
72 | 73 |
73 enum ErrorType { | 74 enum ErrorType { |
74 MANIFEST, | 75 MANIFEST, |
75 RUNTIME | 76 RUNTIME |
76 }; | 77 }; |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 | 547 |
547 interface Events { | 548 interface Events { |
548 // Fired when a item state is changed. | 549 // Fired when a item state is changed. |
549 static void onItemStateChanged(EventData response); | 550 static void onItemStateChanged(EventData response); |
550 | 551 |
551 // Fired when the profile's state has changed. | 552 // Fired when the profile's state has changed. |
552 static void onProfileStateChanged(ProfileInfo info); | 553 static void onProfileStateChanged(ProfileInfo info); |
553 }; | 554 }; |
554 | 555 |
555 }; | 556 }; |
OLD | NEW |