| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 void RecordAppListLaunch(); | 46 void RecordAppListLaunch(); |
| 47 static void RecordAppListAppLaunch(); | 47 static void RecordAppListAppLaunch(); |
| 48 | 48 |
| 49 // AppListService overrides: | 49 // AppListService overrides: |
| 50 void SetAppListNextPaintCallback(void (*callback)()) override; | 50 void SetAppListNextPaintCallback(void (*callback)()) override; |
| 51 void HandleFirstRun() override; | 51 void HandleFirstRun() override; |
| 52 void Init(Profile* initial_profile) override; | 52 void Init(Profile* initial_profile) override; |
| 53 base::FilePath GetProfilePath(const base::FilePath& user_data_dir) override; | 53 base::FilePath GetProfilePath(const base::FilePath& user_data_dir) override; |
| 54 void SetProfilePath(const base::FilePath& profile_path) override; | 54 void SetProfilePath(const base::FilePath& profile_path) override; |
| 55 void Show() override; | 55 void Show() override; |
| 56 void ShowForVoiceSearch(Profile* profile) override; | 56 void ShowForVoiceSearch( |
| 57 Profile* profile, |
| 58 const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble) |
| 59 override; |
| 57 void ShowForAppInstall(Profile* profile, | 60 void ShowForAppInstall(Profile* profile, |
| 58 const std::string& extension_id, | 61 const std::string& extension_id, |
| 59 bool start_discovery_tracking) override; | 62 bool start_discovery_tracking) override; |
| 60 void EnableAppList(Profile* initial_profile, | 63 void EnableAppList(Profile* initial_profile, |
| 61 AppListEnableSource enable_source) override; | 64 AppListEnableSource enable_source) override; |
| 62 void CreateShortcut() override; | 65 void CreateShortcut() override; |
| 63 | 66 |
| 64 protected: | 67 protected: |
| 65 AppListServiceImpl(); | 68 AppListServiceImpl(); |
| 66 | 69 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 PrefService* local_state_; | 103 PrefService* local_state_; |
| 101 scoped_ptr<ProfileLoader> profile_loader_; | 104 scoped_ptr<ProfileLoader> profile_loader_; |
| 102 scoped_ptr<AppListViewDelegate> view_delegate_; | 105 scoped_ptr<AppListViewDelegate> view_delegate_; |
| 103 | 106 |
| 104 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; | 107 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; |
| 105 | 108 |
| 106 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); | 109 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); |
| 107 }; | 110 }; |
| 108 | 111 |
| 109 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 112 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| OLD | NEW |