| 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 28 matching lines...) Expand all Loading... |
| 39 const ProfileLoader& profile_loader() const { return profile_loader_; } | 39 const ProfileLoader& profile_loader() const { return profile_loader_; } |
| 40 | 40 |
| 41 // Process command line flags shared between desktop implementations of the | 41 // Process command line flags shared between desktop implementations of the |
| 42 // app list. Currently this allows for enabling or disabling the app list. | 42 // app list. Currently this allows for enabling or disabling the app list. |
| 43 void HandleCommandLineFlags(Profile* initial_profile); | 43 void HandleCommandLineFlags(Profile* initial_profile); |
| 44 | 44 |
| 45 // Create a platform-specific shortcut for the app list. | 45 // Create a platform-specific shortcut for the app list. |
| 46 virtual void CreateShortcut(); | 46 virtual void CreateShortcut(); |
| 47 | 47 |
| 48 // AppListService overrides: | 48 // AppListService overrides: |
| 49 virtual void SetAppListNextPaintCallback( |
| 50 const base::Closure& callback) OVERRIDE; |
| 49 virtual void HandleFirstRun() OVERRIDE; | 51 virtual void HandleFirstRun() OVERRIDE; |
| 50 virtual void Init(Profile* initial_profile) OVERRIDE; | 52 virtual void Init(Profile* initial_profile) OVERRIDE; |
| 51 | 53 |
| 52 // Returns the app list path configured in BrowserProcess::local_state(). | 54 // Returns the app list path configured in BrowserProcess::local_state(). |
| 53 virtual base::FilePath GetProfilePath( | 55 virtual base::FilePath GetProfilePath( |
| 54 const base::FilePath& user_data_dir) OVERRIDE; | 56 const base::FilePath& user_data_dir) OVERRIDE; |
| 55 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; | 57 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; |
| 56 virtual void Show() OVERRIDE; | 58 virtual void Show() OVERRIDE; |
| 57 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; | 59 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; |
| 58 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE; | 60 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 82 int pending_profile_loads_; | 84 int pending_profile_loads_; |
| 83 | 85 |
| 84 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; | 86 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; |
| 85 | 87 |
| 86 ProfileLoader profile_loader_; | 88 ProfileLoader profile_loader_; |
| 87 | 89 |
| 88 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); | 90 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 93 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| OLD | NEW |