| 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 // A boolean that tracks whether apps are allowed to enter fullscreen mode. |
| 12 extern const char kAppFullscreenAllowed[] = |
| 13 "apps.fullscreen.allowed"; |
| 14 |
| 11 // A boolean that tracks whether the user has ever enabled the app launcher. | 15 // A boolean that tracks whether the user has ever enabled the app launcher. |
| 12 const char kAppLauncherHasBeenEnabled[] = | 16 const char kAppLauncherHasBeenEnabled[] = |
| 13 "apps.app_launcher.has_been_enabled"; | 17 "apps.app_launcher.has_been_enabled"; |
| 14 | 18 |
| 15 // TODO(calamity): remove this pref since app launcher will always be | 19 // TODO(calamity): remove this pref since app launcher will always be |
| 16 // installed. | 20 // installed. |
| 17 // Local state caching knowledge of whether the app launcher is installed. | 21 // Local state caching knowledge of whether the app launcher is installed. |
| 18 const char kAppLauncherIsEnabled[] = | 22 const char kAppLauncherIsEnabled[] = |
| 19 "apps.app_launcher.should_show_apps_page"; | 23 "apps.app_launcher.should_show_apps_page"; |
| 20 | 24 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 // A boolean that indicates whether app shortcuts have been created. | 38 // A boolean that indicates whether app shortcuts have been created. |
| 35 // On a transition from false to true, shortcuts are created for all apps. | 39 // On a transition from false to true, shortcuts are created for all apps. |
| 36 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created"; | 40 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created"; |
| 37 | 41 |
| 38 // A boolean identifying if we should show the app launcher promo or not. | 42 // A boolean identifying if we should show the app launcher promo or not. |
| 39 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 43 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
| 40 | 44 |
| 41 } // namespace prefs | 45 } // namespace prefs |
| 42 | 46 |
| 43 } // namespace apps | 47 } // namespace apps |
| OLD | NEW |