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 10namespace base { 11class DictionaryValue; 12} 13 14namespace user_prefs { 15class PrefRegistrySyncable; 16} 17 18namespace 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. 22extern const char kPinnedAppsPrefAppIDPath[]; 23 24// Values used for prefs::kShelfAutoHideBehavior. 25extern const char kShelfAutoHideBehaviorAlways[]; 26extern const char kShelfAutoHideBehaviorNever[]; 27 28// Values used for prefs::kShelfAlignment. 29extern const char kShelfAlignmentBottom[]; 30extern const char kShelfAlignmentLeft[]; 31extern const char kShelfAlignmentRight[]; 32extern const char kShelfAlignmentTop[]; 33 34void RegisterChromeLauncherUserPrefs( 35 user_prefs::PrefRegistrySyncable* registry); 36 37base::DictionaryValue* CreateAppDict(const std::string& app_id); 38 39} // namespace ash 40 41#endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ 42