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

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: Rebase 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..563e5db9c7a9cce394e2336f216695fc8fc12061 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -135,6 +135,14 @@ enum AppLaunchSource {
NUM_APP_LAUNCH_SOURCES
};
+// Type of action to launch.
+enum class ActionType { NEW_NOTE };
+
+// Action-specific data to launch with.
+struct ActionData {
+ ActionType action_type;
Devlin 2016/08/11 20:51:21 Is there a reason to not use app_runtime::ActionDa
jdufault 2016/08/12 18:56:55 Done.
+};
+
// 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