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 #include "ash/shelf/shelf_types.h" | 10 #include "ash/shelf/shelf_types.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 base::DictionaryValue* CreateAppDict(const std::string& app_id); | 42 base::DictionaryValue* CreateAppDict(const std::string& app_id); |
43 | 43 |
44 // Get or set the shelf auto hide behavior preference for a root window. | 44 // Get or set the shelf auto hide behavior preference for a root window. |
45 ShelfAutoHideBehavior GetShelfAutoHideBehaviorPref(PrefService* prefs, | 45 ShelfAutoHideBehavior GetShelfAutoHideBehaviorPref(PrefService* prefs, |
46 int64_t display_id); | 46 int64_t display_id); |
47 void SetShelfAutoHideBehaviorPref(PrefService* prefs, | 47 void SetShelfAutoHideBehaviorPref(PrefService* prefs, |
48 int64_t display_id, | 48 int64_t display_id, |
49 ShelfAutoHideBehavior behavior); | 49 ShelfAutoHideBehavior behavior); |
50 | 50 |
51 // Get or set the shelf alignment preference for a root window. | 51 // Get or set the shelf alignment preference for a root window. |
52 ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, int64_t display_id); | 52 wm::ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, |
| 53 int64_t display_id); |
53 void SetShelfAlignmentPref(PrefService* prefs, | 54 void SetShelfAlignmentPref(PrefService* prefs, |
54 int64_t display_id, | 55 int64_t display_id, |
55 ShelfAlignment alignment); | 56 wm::ShelfAlignment alignment); |
56 | 57 |
57 } // namespace ash | 58 } // namespace ash |
58 | 59 |
59 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ | 60 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |
OLD | NEW |