Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4379)

Unified Diff: chrome/common/extensions/extension_constants.h

Issue 696543002: Move the chrome.management API to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 86192d11b6b7ccc8bf228f69dfe1f1c8bc5a9023..eba117096b098a76a23c4cf2dc4ed4a1c44b4d5f 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -263,38 +263,4 @@ extern const int kWebstoreSignaturesPublicKeySize;
} // namespace extension_misc
-namespace extensions {
-
-// This enum is used for the launch type the user wants to use for an
-// application.
-// Do not remove items or re-order this enum as it is used in preferences
-// and histograms.
-enum LaunchType {
- LAUNCH_TYPE_INVALID = -1,
- LAUNCH_TYPE_FIRST = 0,
- LAUNCH_TYPE_PINNED = LAUNCH_TYPE_FIRST,
- LAUNCH_TYPE_REGULAR = 1,
- LAUNCH_TYPE_FULLSCREEN = 2,
- LAUNCH_TYPE_WINDOW = 3,
- NUM_LAUNCH_TYPES,
-
- // Launch an app in the in the way a click on the NTP would,
- // if no user pref were set. Update this constant to change
- // the default for the NTP and chrome.management.launchApp().
- LAUNCH_TYPE_DEFAULT = LAUNCH_TYPE_REGULAR
-};
-
-// Don't remove items or change the order of this enum. It's used in
-// histograms and preferences.
-enum LaunchContainer {
- LAUNCH_CONTAINER_WINDOW,
- LAUNCH_CONTAINER_PANEL,
- LAUNCH_CONTAINER_TAB,
- // For platform apps, which don't actually have a container (they just get a
- // "onLaunched" event).
- LAUNCH_CONTAINER_NONE
-};
-
-} // namespace extensions
-
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | chrome/common/extensions/manifest_handlers/app_launch_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698