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

Side by Side Diff: apps/pref_names.cc

Issue 13940006: Remove --show-app-list-shortcut flag and implement new app launcher enable logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove rest of start menu code Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "apps/pref_names.h" 5 #include "apps/pref_names.h"
6 6
7 namespace apps { 7 namespace apps {
8 8
9 namespace prefs { 9 namespace prefs {
10 10
11 // Local state caching knowledge of whether the app launcher is installed.
12 const char kAppLauncherIsEnabled[] =
13 "apps.app_launcher.should_show_apps_page";
14
15 // If set, the user requested to launch the app with this extension id while 11 // If set, the user requested to launch the app with this extension id while
16 // in Metro mode, and then relaunched to Desktop mode to start it. 12 // in Metro mode, and then relaunched to Desktop mode to start it.
17 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; 13 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart";
18 14
19 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers 15 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers
20 // launch of the specified app when restarting Chrome in desktop mode. 16 // launch of the specified app when restarting Chrome in desktop mode.
21 const char kAppLaunchForMetroRestartProfile[] = 17 const char kAppLaunchForMetroRestartProfile[] =
22 "apps.app_launch_for_metro_restart_profile"; 18 "apps.app_launch_for_metro_restart_profile";
23 19
20 // A boolean that tracks whether the user has ever enabled the app launcher.
21 const char kAppLauncherHasBeenEnabled[] =
22 "apps.app_launcher.has_been_enabled";
23
24 // TODO(calamity): remove this pref since app launcher will always be
25 // installed.
26 // Local state caching knowledge of whether the app launcher is installed.
27 const char kAppLauncherIsEnabled[] =
28 "apps.app_launcher.should_show_apps_page";
29
24 // A boolean identifying if we should show the app launcher promo or not. 30 // A boolean identifying if we should show the app launcher promo or not.
25 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; 31 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
26 32
27 } // namespace prefs 33 } // namespace prefs
28 34
29 } // namespace apps 35 } // namespace apps
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698