Index: extensions/common/constants.h |
diff --git a/extensions/common/constants.h b/extensions/common/constants.h |
index d952989760ec47f99fbdb8db445233d98af5d503..1d0283a8dbae47ddfa0f1b789fa043bf621383f3 100644 |
--- a/extensions/common/constants.h |
+++ b/extensions/common/constants.h |
@@ -108,6 +108,25 @@ extern const char kMimeTypePng[]; |
// The extension id of the Web Store component application. |
extern const char kWebStoreAppId[]; |
+// Enumeration of possible app launch sources. |
Alexei Svitkine (slow)
2014/11/03 22:03:42
Nit: Could you expand comment to mention it's used
cylee1
2014/11/04 13:40:23
Done.
|
+enum AppLaunchSource { |
+ SOURCE_UNTRACKED = 0, |
+ SOURCE_APP_LAUNCHER, |
+ SOURCE_NEW_TAB_PAGE, |
+ SOURCE_RELOAD, |
+ SOURCE_RESTART, |
+ SOURCE_LOAD_AND_LAUNCH, |
+ SOURCE_COMMAND_LINE, |
+ SOURCE_FILE_HANDLER, |
+ SOURCE_URL_HANDLER, |
+ |
+ SOURCE_SYSTEM_TRAY, |
+ SOURCE_ABOUT_PAGE, |
+ SOURCE_KEYBOARD, |
+ |
+ NUM_APP_LAUNCH_SOURCES |
+}; |
+ |
} // namespace extensions |
namespace extension_misc { |