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