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

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

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 6 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
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 #include <vector> 9 #include <vector>
10 10
11 #include "ash/shelf/shelf_types.h" 11 #include "ash/common/shelf/shelf_types.h"
12 12
13 class LauncherControllerHelper; 13 class LauncherControllerHelper;
14 class PrefService; 14 class PrefService;
15 15
16 namespace base { 16 namespace base {
17 class DictionaryValue; 17 class DictionaryValue;
18 } 18 }
19 19
20 namespace user_prefs { 20 namespace user_prefs {
21 class PrefRegistrySyncable; 21 class PrefRegistrySyncable;
(...skipping 26 matching lines...) Expand all
48 base::DictionaryValue* CreateAppDict(const std::string& app_id); 48 base::DictionaryValue* CreateAppDict(const std::string& app_id);
49 49
50 // Get or set the shelf auto hide behavior preference for a particular display. 50 // Get or set the shelf auto hide behavior preference for a particular display.
51 ShelfAutoHideBehavior GetShelfAutoHideBehaviorPref(PrefService* prefs, 51 ShelfAutoHideBehavior GetShelfAutoHideBehaviorPref(PrefService* prefs,
52 int64_t display_id); 52 int64_t display_id);
53 void SetShelfAutoHideBehaviorPref(PrefService* prefs, 53 void SetShelfAutoHideBehaviorPref(PrefService* prefs,
54 int64_t display_id, 54 int64_t display_id,
55 ShelfAutoHideBehavior behavior); 55 ShelfAutoHideBehavior behavior);
56 56
57 // Get or set the shelf alignment preference for a particular display. 57 // Get or set the shelf alignment preference for a particular display.
58 wm::ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, 58 ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, int64_t display_id);
59 int64_t display_id);
60 void SetShelfAlignmentPref(PrefService* prefs, 59 void SetShelfAlignmentPref(PrefService* prefs,
61 int64_t display_id, 60 int64_t display_id,
62 wm::ShelfAlignment alignment); 61 ShelfAlignment alignment);
63 62
64 // Get the list of pinned apps from preferences. 63 // Get the list of pinned apps from preferences.
65 std::vector<std::string> GetPinnedAppsFromPrefs( 64 std::vector<std::string> GetPinnedAppsFromPrefs(
66 const PrefService* prefs, 65 const PrefService* prefs,
67 const LauncherControllerHelper* helper); 66 const LauncherControllerHelper* helper);
68 67
69 } // namespace ash 68 } // namespace ash
70 69
71 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ 70 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/apps/chrome_app_delegate.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