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

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: Fix compile 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..2dacd6bc6be1761ddc1c5fe477ad0b6872edf588 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -135,6 +135,15 @@ enum AppLaunchSource {
NUM_APP_LAUNCH_SOURCES
};
+// Type of action to launch. Only applies if AppLaunchSource is set to
+// SOURCE_ACTION.
Daniel Erat 2016/08/10 22:19:24 nit: delete obsolete second sentence
jdufault 2016/08/10 22:33:35 Done.
+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

Powered by Google App Engine
This is Rietveld 408576698