OLD | NEW |
---|---|
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 | |
30 // A boolean that tracks whether we have ever created the start menu shortcut. | |
31 const char kAppLauncherStartMenuShortcutCreated[] = | |
koz (OOO until 15th September)
2013/04/19 01:39:35
Is this still necessary?
calamity
2013/04/19 02:06:03
Done.
| |
32 "apps.app_launcher.start_menu_shortcut_created"; | |
33 | |
24 // A boolean identifying if we should show the app launcher promo or not. | 34 // A boolean identifying if we should show the app launcher promo or not. |
25 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 35 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
26 | 36 |
27 } // namespace prefs | 37 } // namespace prefs |
28 | 38 |
29 } // namespace apps | 39 } // namespace apps |
OLD | NEW |