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

Unified Diff: extensions/common/constants.h

Issue 2212303003: Implement app launch changes for app runtime extension proposal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-screenshot
Patch Set: Initial upload Created 4 years, 4 months 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: extensions/common/constants.h
diff --git a/extensions/common/constants.h b/extensions/common/constants.h
index 185ab79d0146dd89d9de725daa9c9ea3c29e691e..e8ae77d6eeffe24fcd44715a5f733c9b06d8703a 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -131,10 +131,20 @@ enum AppLaunchSource {
SOURCE_CHROME_INTERNAL,
SOURCE_TEST,
SOURCE_INSTALLED_NOTIFICATION,
+ SOURCE_ACTION,
NUM_APP_LAUNCH_SOURCES
};
+// Type of action to launch. Only applies if AppLaunchSource is set to
+// SOURCE_ACTION.
+enum class ActionType { NEW_NOTE };
+
+// Action-specific data to launch with.
+struct ActionData {
+ ActionType action_type;
+};
+
// 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
« extensions/common/api/app_runtime.idl ('K') | « extensions/common/api/app_runtime.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698