| 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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // app list. Currently this allows for enabling or disabling the app list. | 50 // app list. Currently this allows for enabling or disabling the app list. |
| 51 void HandleCommandLineFlags(Profile* initial_profile); | 51 void HandleCommandLineFlags(Profile* initial_profile); |
| 52 | 52 |
| 53 // Create a platform-specific shortcut for the app list. | 53 // Create a platform-specific shortcut for the app list. |
| 54 virtual void CreateShortcut(); | 54 virtual void CreateShortcut(); |
| 55 | 55 |
| 56 // Called in response to observed successful and unsuccessful signin changes. | 56 // Called in response to observed successful and unsuccessful signin changes. |
| 57 virtual void OnSigninStatusChanged(); | 57 virtual void OnSigninStatusChanged(); |
| 58 | 58 |
| 59 // AppListService overrides: | 59 // AppListService overrides: |
| 60 virtual void SetAppListNextPaintCallback( |
| 61 const base::Closure& callback) OVERRIDE; |
| 60 virtual void HandleFirstRun() OVERRIDE; | 62 virtual void HandleFirstRun() OVERRIDE; |
| 61 virtual void Init(Profile* initial_profile) OVERRIDE; | 63 virtual void Init(Profile* initial_profile) OVERRIDE; |
| 62 | 64 |
| 63 // Returns the app list path configured in BrowserProcess::local_state(). | 65 // Returns the app list path configured in BrowserProcess::local_state(). |
| 64 virtual base::FilePath GetProfilePath( | 66 virtual base::FilePath GetProfilePath( |
| 65 const base::FilePath& user_data_dir) OVERRIDE; | 67 const base::FilePath& user_data_dir) OVERRIDE; |
| 66 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; | 68 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; |
| 67 virtual void Show() OVERRIDE; | 69 virtual void Show() OVERRIDE; |
| 68 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; | 70 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; |
| 69 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE; | 71 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 99 | 101 |
| 100 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; | 102 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; |
| 101 content::NotificationRegistrar registrar_; | 103 content::NotificationRegistrar registrar_; |
| 102 | 104 |
| 103 ProfileLoader profile_loader_; | 105 ProfileLoader profile_loader_; |
| 104 | 106 |
| 105 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); | 107 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); |
| 106 }; | 108 }; |
| 107 | 109 |
| 108 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 110 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| OLD | NEW |