Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/browser/ui/ash/chrome_launcher_prefs.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_item.cc ('k') | chrome/browser/ui/ash/chrome_launcher_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698