[email protected] | 4a90e58 | 2012-05-30 18:14:37 | [diff] [blame] | 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_ | ||||
[email protected] | 4a90e58 | 2012-05-30 18:14:37 | [diff] [blame] | 7 | |
8 | #include <string> | ||||
9 | |||||
[email protected] | c753f14 | 2013-02-10 13:14:04 | [diff] [blame^] | 10 | class PrefRegistrySyncable; |
[email protected] | 4a90e58 | 2012-05-30 18:14:37 | [diff] [blame] | 11 | |
12 | namespace base { | ||||
13 | class DictionaryValue; | ||||
14 | } | ||||
15 | |||||
16 | namespace ash { | ||||
17 | |||||
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. | ||||
20 | extern const char kPinnedAppsPrefAppIDPath[]; | ||||
21 | |||||
22 | // Values used for prefs::kShelfAutoHideBehavior. | ||||
23 | extern const char kShelfAutoHideBehaviorAlways[]; | ||||
[email protected] | 4a90e58 | 2012-05-30 18:14:37 | [diff] [blame] | 24 | extern const char kShelfAutoHideBehaviorNever[]; |
25 | |||||
[email protected] | a5c63ce8 | 2012-07-18 18:48:57 | [diff] [blame] | 26 | // Values used for prefs::kShelfAlignment. |
27 | extern const char kShelfAlignmentBottom[]; | ||||
28 | extern const char kShelfAlignmentLeft[]; | ||||
29 | extern const char kShelfAlignmentRight[]; | ||||
[email protected] | 8572c487 | 2013-01-12 17:16:07 | [diff] [blame] | 30 | extern const char kShelfAlignmentTop[]; |
[email protected] | a5c63ce8 | 2012-07-18 18:48:57 | [diff] [blame] | 31 | |
[email protected] | c753f14 | 2013-02-10 13:14:04 | [diff] [blame^] | 32 | void RegisterChromeLauncherUserPrefs(PrefRegistrySyncable* registry); |
[email protected] | 4a90e58 | 2012-05-30 18:14:37 | [diff] [blame] | 33 | |
34 | base::DictionaryValue* CreateAppDict(const std::string& app_id); | ||||
35 | |||||
36 | } // namespace ash | ||||
37 | |||||
38 | #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |