| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 virtual void Show() OVERRIDE {} | 35 virtual void Show() OVERRIDE {} |
| 36 virtual void CreateForProfile(Profile* profile) OVERRIDE {} | 36 virtual void CreateForProfile(Profile* profile) OVERRIDE {} |
| 37 virtual void ShowForProfile(Profile* profile) OVERRIDE {} | 37 virtual void ShowForProfile(Profile* profile) OVERRIDE {} |
| 38 virtual void DismissAppList() OVERRIDE {} | 38 virtual void DismissAppList() OVERRIDE {} |
| 39 | 39 |
| 40 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } | 40 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } |
| 41 virtual bool IsAppListVisible() const OVERRIDE { return false; } | 41 virtual bool IsAppListVisible() const OVERRIDE { return false; } |
| 42 virtual void EnableAppList(Profile* initial_profile) OVERRIDE {} | 42 virtual void EnableAppList(Profile* initial_profile) OVERRIDE {} |
| 43 | 43 |
| 44 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { |
| 45 return NULL; |
| 46 } |
| 47 |
| 44 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE { | 48 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE { |
| 45 return NULL; | 49 return NULL; |
| 46 } | 50 } |
| 47 | 51 |
| 48 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { | 52 virtual app_list::AppListModel* GetAppListModelForTesting() OVERRIDE { |
| 49 return NULL; | 53 return NULL; |
| 50 } | 54 } |
| 51 | 55 |
| 52 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 56 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
| 53 }; | 57 }; |
| 54 | 58 |
| 55 } // namespace | 59 } // namespace |
| 56 | 60 |
| 57 // static | 61 // static |
| 58 AppListService* AppListService::Get() { | 62 AppListService* AppListService::Get() { |
| 59 return AppListServiceDisabled::GetInstance(); | 63 return AppListServiceDisabled::GetInstance(); |
| 60 } | 64 } |
| 61 | 65 |
| 62 // static | 66 // static |
| 63 void AppListService::InitAll(Profile* initial_profile) {} | 67 void AppListService::InitAll(Profile* initial_profile) {} |
| 64 | 68 |
| 65 // static | 69 // static |
| 66 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 70 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
| 67 | 71 |
| 68 // static | 72 // static |
| 69 void AppListService::RecordShowTimings(const CommandLine& command_line) {} | 73 void AppListService::RecordShowTimings(const CommandLine& command_line) {} |
| OLD | NEW |