Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 19 matching lines...) Expand all Loading... | |
| 30 | 30 |
| 31 // Call Init for all AppListService instances on this platform. | 31 // Call Init for all AppListService instances on this platform. |
| 32 static void InitAll(Profile* initial_profile); | 32 static void InitAll(Profile* initial_profile); |
| 33 | 33 |
| 34 static void RegisterPrefs(PrefRegistrySimple* registry); | 34 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 35 | 35 |
| 36 static void RecordAppListLaunch(); | 36 static void RecordAppListLaunch(); |
| 37 static void RecordAppListAppLaunch(); | 37 static void RecordAppListAppLaunch(); |
| 38 static void SendAppListStats(); | 38 static void SendAppListStats(); |
| 39 | 39 |
| 40 // Returns the resource id of the app list PNG icon used for the taskbar, | |
| 41 // infobars and window decorations. | |
| 42 static int GetAppListIconResourceId(); | |
|
benwells
2013/04/09 22:34:44
This feels strange here as they are currently only
tapted
2013/04/10 06:36:37
Moved to app_list_controller_win.h
| |
| 43 | |
| 40 virtual base::FilePath GetAppListProfilePath( | 44 virtual base::FilePath GetAppListProfilePath( |
| 41 const base::FilePath& user_data_dir); | 45 const base::FilePath& user_data_dir); |
| 42 | 46 |
| 43 // Show the app list. | 47 // Show the app list. |
| 44 virtual void ShowAppList(Profile* profile); | 48 virtual void ShowAppList(Profile* profile); |
| 45 | 49 |
| 46 // Dismiss the app list. | 50 // Dismiss the app list. |
| 47 virtual void DismissAppList(); | 51 virtual void DismissAppList(); |
| 48 | 52 |
| 49 virtual void SetAppListProfile(const base::FilePath& profile_file_path); | 53 virtual void SetAppListProfile(const base::FilePath& profile_file_path); |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 72 virtual ~AppListService() {} | 76 virtual ~AppListService() {} |
| 73 | 77 |
| 74 // Do any once off initialization needed for the app list. | 78 // Do any once off initialization needed for the app list. |
| 75 virtual void Init(Profile* initial_profile); | 79 virtual void Init(Profile* initial_profile); |
| 76 | 80 |
| 77 private: | 81 private: |
| 78 DISALLOW_COPY_AND_ASSIGN(AppListService); | 82 DISALLOW_COPY_AND_ASSIGN(AppListService); |
| 79 }; | 83 }; |
| 80 | 84 |
| 81 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ | 85 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ |
| OLD | NEW |