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

Unified Diff: apps/pref_names.cc

Issue 12450014: Show an InfoBar when trying to start Packaged Apps from Metro mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a 1 second delay, some nits Created 7 years, 9 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: apps/pref_names.cc
diff --git a/apps/pref_names.cc b/apps/pref_names.cc
index 15a33f936a52114979718cba639d60bbcb1db634..762ce7ddd06f8a20650a135392d00ecbdd444314 100644
--- a/apps/pref_names.cc
+++ b/apps/pref_names.cc
@@ -12,6 +12,10 @@ namespace prefs {
const char kAppLauncherIsEnabled[] =
"apps.app_launcher.should_show_apps_page";
+// If set, the user requested to launch the app with this extension id while
+// in Metro mode, and then relaunched to Desktop mode to start it.
+const char kRestartFromMetroWithAppLaunch[] = "apps.start_app_on_relaunch";
+
} // namespace prefs
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698