• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_
7 
8 #include <string>
9 
10 namespace base {
11 class DictionaryValue;
12 }
13 
14 namespace user_prefs {
15 class PrefRegistrySyncable;
16 }
17 
18 namespace ash {
19 
20 // Path within the dictionary entries in the prefs::kPinnedLauncherApps list
21 // specifying the extension ID of the app to be pinned by that entry.
22 extern const char kPinnedAppsPrefAppIDPath[];
23 
24 // Values used for prefs::kShelfAutoHideBehavior.
25 extern const char kShelfAutoHideBehaviorAlways[];
26 extern const char kShelfAutoHideBehaviorNever[];
27 
28 // Values used for prefs::kShelfAlignment.
29 extern const char kShelfAlignmentBottom[];
30 extern const char kShelfAlignmentLeft[];
31 extern const char kShelfAlignmentRight[];
32 extern const char kShelfAlignmentTop[];
33 
34 void RegisterChromeLauncherUserPrefs(
35     user_prefs::PrefRegistrySyncable* registry);
36 
37 base::DictionaryValue* CreateAppDict(const std::string& app_id);
38 
39 }  // namespace ash
40 
41 #endif  // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_
42