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

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

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void ShowForSavedProfile() = 0; 53 virtual void ShowForSavedProfile() = 0;
54 54
55 // Get the profile the app list is currently showing. 55 // Get the profile the app list is currently showing.
56 virtual Profile* GetCurrentAppListProfile() = 0; 56 virtual Profile* GetCurrentAppListProfile() = 0;
57 57
58 // Returns true if the app list is visible. 58 // Returns true if the app list is visible.
59 virtual bool IsAppListVisible() const = 0; 59 virtual bool IsAppListVisible() const = 0;
60 60
61 // Enable the app list. What this does specifically will depend on the host 61 // Enable the app list. What this does specifically will depend on the host
62 // operating system and shell. 62 // operating system and shell.
63 virtual void EnableAppList() = 0; 63 virtual void EnableAppList(Profile* initial_profile) = 0;
64 64
65 // Get the window the app list is in, or NULL if the app list isn't visible. 65 // Get the window the app list is in, or NULL if the app list isn't visible.
66 virtual gfx::NativeWindow GetAppListWindow() = 0; 66 virtual gfx::NativeWindow GetAppListWindow() = 0;
67 67
68 // Exposed to allow testing of the controller delegate. 68 // Exposed to allow testing of the controller delegate.
69 virtual AppListControllerDelegate* CreateControllerDelegate() = 0; 69 virtual AppListControllerDelegate* CreateControllerDelegate() = 0;
70 70
71 protected: 71 protected:
72 AppListService() {} 72 AppListService() {}
73 virtual ~AppListService() {} 73 virtual ~AppListService() {}
74 74
75 // Do any once off initialization needed for the app list. 75 // Do any once off initialization needed for the app list.
76 virtual void Init(Profile* initial_profile) = 0; 76 virtual void Init(Profile* initial_profile) = 0;
77 77
78 private: 78 private:
79 DISALLOW_COPY_AND_ASSIGN(AppListService); 79 DISALLOW_COPY_AND_ASSIGN(AppListService);
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 82 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698