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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service.h

Issue 14514003: Make OSX App Launcher Launchable from the Dock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase off cl14603002 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_APP_LIST_SERVICE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 25 matching lines...) Expand all
36 const base::FilePath& user_data_dir); 36 const base::FilePath& user_data_dir);
37 37
38 // Show the app list. 38 // Show the app list.
39 virtual void ShowAppList(Profile* requested_profile); 39 virtual void ShowAppList(Profile* requested_profile);
40 40
41 // Dismiss the app list. 41 // Dismiss the app list.
42 virtual void DismissAppList(); 42 virtual void DismissAppList();
43 43
44 virtual void SetAppListProfile(const base::FilePath& profile_file_path); 44 virtual void SetAppListProfile(const base::FilePath& profile_file_path);
45 45
46 virtual void ShowForSavedProfile();
47
46 // Get the profile the app list is currently showing. 48 // Get the profile the app list is currently showing.
47 virtual Profile* GetCurrentAppListProfile(); 49 virtual Profile* GetCurrentAppListProfile();
48 50
49 // Returns true if the app list is visible. 51 // Returns true if the app list is visible.
50 virtual bool IsAppListVisible() const; 52 virtual bool IsAppListVisible() const;
51 53
52 // Enable the app list. What this does specifically will depend on the host 54 // Enable the app list. What this does specifically will depend on the host
53 // operating system and shell. 55 // operating system and shell.
54 virtual void EnableAppList(); 56 virtual void EnableAppList();
55 57
56 // Exposed to allow testing of the controller delegate. 58 // Exposed to allow testing of the controller delegate.
57 virtual AppListControllerDelegate* CreateControllerDelegate(); 59 virtual AppListControllerDelegate* CreateControllerDelegate();
58 60
59 protected: 61 protected:
60 AppListService() {} 62 AppListService() {}
61 virtual ~AppListService() {} 63 virtual ~AppListService() {}
62 64
63 // Do any once off initialization needed for the app list. 65 // Do any once off initialization needed for the app list.
64 virtual void Init(Profile* initial_profile); 66 virtual void Init(Profile* initial_profile);
65 67
66 private: 68 private:
67 DISALLOW_COPY_AND_ASSIGN(AppListService); 69 DISALLOW_COPY_AND_ASSIGN(AppListService);
68 }; 70 };
69 71
70 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 72 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_dismiss_observer_mac.h ('k') | chrome/browser/ui/app_list/app_list_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698