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 25 matching lines...) Expand all Loading... |
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() 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 { |
| 47 return NULL; |
| 48 } |
| 49 |
46 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 50 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
47 }; | 51 }; |
48 | 52 |
49 } // namespace | 53 } // namespace |
50 | 54 |
51 // static | 55 // static |
52 AppListService* AppListService::Get() { | 56 AppListService* AppListService::Get() { |
53 return AppListServiceDisabled::GetInstance(); | 57 return AppListServiceDisabled::GetInstance(); |
54 } | 58 } |
55 | 59 |
56 // static | 60 // static |
57 void AppListService::InitAll(Profile* initial_profile) {} | 61 void AppListService::InitAll(Profile* initial_profile) {} |
58 | 62 |
59 // static | 63 // static |
60 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 64 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
61 | 65 |
62 // static | 66 // static |
63 void AppListService::RecordShowTimings(const CommandLine& command_line) {} | 67 void AppListService::RecordShowTimings(const CommandLine& command_line) {} |
OLD | NEW |