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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 7 months 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 PrefRegistrySyncable;
11
12 namespace base { 10 namespace base {
13 class DictionaryValue; 11 class DictionaryValue;
14 } 12 }
15 13
14 namespace user_prefs {
15 class PrefRegistrySyncable;
16 }
17
16 namespace ash { 18 namespace ash {
17 19
18 // Path within the dictionary entries in the prefs::kPinnedLauncherApps list 20 // Path within the dictionary entries in the prefs::kPinnedLauncherApps list
19 // specifying the extension ID of the app to be pinned by that entry. 21 // specifying the extension ID of the app to be pinned by that entry.
20 extern const char kPinnedAppsPrefAppIDPath[]; 22 extern const char kPinnedAppsPrefAppIDPath[];
21 23
22 // Values used for prefs::kShelfAutoHideBehavior. 24 // Values used for prefs::kShelfAutoHideBehavior.
23 extern const char kShelfAutoHideBehaviorAlways[]; 25 extern const char kShelfAutoHideBehaviorAlways[];
24 extern const char kShelfAutoHideBehaviorNever[]; 26 extern const char kShelfAutoHideBehaviorNever[];
25 27
26 // Values used for prefs::kShelfAlignment. 28 // Values used for prefs::kShelfAlignment.
27 extern const char kShelfAlignmentBottom[]; 29 extern const char kShelfAlignmentBottom[];
28 extern const char kShelfAlignmentLeft[]; 30 extern const char kShelfAlignmentLeft[];
29 extern const char kShelfAlignmentRight[]; 31 extern const char kShelfAlignmentRight[];
30 extern const char kShelfAlignmentTop[]; 32 extern const char kShelfAlignmentTop[];
31 33
32 void RegisterChromeLauncherUserPrefs(PrefRegistrySyncable* registry); 34 void RegisterChromeLauncherUserPrefs(
35 user_prefs::PrefRegistrySyncable* registry);
33 36
34 base::DictionaryValue* CreateAppDict(const std::string& app_id); 37 base::DictionaryValue* CreateAppDict(const std::string& app_id);
35 38
36 } // namespace ash 39 } // namespace ash
37 40
38 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ 41 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/alternate_error_tab_observer.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