| 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 #include "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
| 6 #include "base/memory/singleton.h" | 6 #include "base/memory/singleton.h" |
| 7 #include "chrome/browser/ui/app_list/app_list_service.h" | 7 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 virtual void ShowForSavedProfile() OVERRIDE {} | 31 virtual void ShowForSavedProfile() OVERRIDE {} |
| 32 virtual void ShowAppList(Profile* profile) OVERRIDE {} | 32 virtual void ShowAppList(Profile* profile) OVERRIDE {} |
| 33 virtual void DismissAppList() OVERRIDE {} | 33 virtual void DismissAppList() OVERRIDE {} |
| 34 | 34 |
| 35 virtual void SetAppListProfile( | 35 virtual void SetAppListProfile( |
| 36 const base::FilePath& profile_file_path) OVERRIDE {} | 36 const base::FilePath& profile_file_path) OVERRIDE {} |
| 37 | 37 |
| 38 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } | 38 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } |
| 39 virtual bool IsAppListVisible() const OVERRIDE { return false; } | 39 virtual bool IsAppListVisible() const OVERRIDE { return false; } |
| 40 virtual void EnableAppList() OVERRIDE {} | 40 virtual void EnableAppList(Profile* initial_profile) OVERRIDE {} |
| 41 | 41 |
| 42 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE { | 42 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE { |
| 43 return NULL; | 43 return NULL; |
| 44 } | 44 } |
| 45 | 45 |
| 46 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { | 46 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { |
| 47 return NULL; | 47 return NULL; |
| 48 } | 48 } |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 50 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace | 53 } // namespace |
| 54 | 54 |
| 55 // static | 55 // static |
| 56 AppListService* AppListService::Get() { | 56 AppListService* AppListService::Get() { |
| 57 return AppListServiceDisabled::GetInstance(); | 57 return AppListServiceDisabled::GetInstance(); |
| 58 } | 58 } |
| 59 | 59 |
| 60 // static | 60 // static |
| 61 void AppListService::InitAll(Profile* initial_profile) {} | 61 void AppListService::InitAll(Profile* initial_profile) {} |
| 62 | 62 |
| 63 // static | 63 // static |
| 64 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 64 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
| 65 | 65 |
| 66 // static | 66 // static |
| 67 void AppListService::RecordShowTimings(const CommandLine& command_line) {} | 67 void AppListService::RecordShowTimings(const CommandLine& command_line) {} |
| OLD | NEW |