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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_POPUP, | 67 EXTENSION_POPUP, |
| 68 EXTENSION_SIDEBAR, |
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 |
77 }; | 78 }; |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 | 582 |
582 interface Events { | 583 interface Events { |
583 // Fired when a item state is changed. | 584 // Fired when a item state is changed. |
584 static void onItemStateChanged(EventData response); | 585 static void onItemStateChanged(EventData response); |
585 | 586 |
586 // Fired when the profile's state has changed. | 587 // Fired when the profile's state has changed. |
587 static void onProfileStateChanged(ProfileInfo info); | 588 static void onProfileStateChanged(ProfileInfo info); |
588 }; | 589 }; |
589 | 590 |
590 }; | 591 }; |
OLD | NEW |