Home | History | Annotate | Download | only in apps
      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
      3 // found in the LICENSE file.
      4 
      5 #include "apps/pref_names.h"
      6 
      7 namespace apps {
      8 
      9 namespace prefs {
     10 
     11 // If set, the user requested to launch the app with this extension id while
     12 // in Metro mode, and then relaunched to Desktop mode to start it.
     13 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart";
     14 
     15 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers
     16 // launch of the specified app when restarting Chrome in desktop mode.
     17 const char kAppLaunchForMetroRestartProfile[] =
     18     "apps.app_launch_for_metro_restart_profile";
     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 indicates whether app shortcuts have been created.
     31 // On a transition from false to true, shortcuts are created for all apps.
     32 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created";
     33 
     34 // A boolean identifying if we should show the app launcher promo or not.
     35 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
     36 
     37 }  // namespace prefs
     38 
     39 }  // namespace apps
     40