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 27 matching lines...) Expand all Loading... |
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, | 42 virtual void EnableAppList(Profile* initial_profile, |
43 AppListEnableSource enable_source) OVERRIDE {} | 43 AppListEnableSource enable_source) OVERRIDE {} |
44 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE { | 44 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE { |
45 return NULL; | 45 return NULL; |
46 } | 46 } |
47 | 47 |
| 48 virtual void CreateShortcut() OVERRIDE {} |
| 49 |
48 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { | 50 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { |
49 return NULL; | 51 return NULL; |
50 } | 52 } |
51 | 53 |
52 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 54 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
53 }; | 55 }; |
54 | 56 |
55 } // namespace | 57 } // namespace |
56 | 58 |
57 // static | 59 // static |
58 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { | 60 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { |
59 return AppListServiceDisabled::GetInstance(); | 61 return AppListServiceDisabled::GetInstance(); |
60 } | 62 } |
61 | 63 |
62 // static | 64 // static |
63 void AppListService::InitAll(Profile* initial_profile) {} | 65 void AppListService::InitAll(Profile* initial_profile) {} |
64 | 66 |
65 // static | 67 // static |
66 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 68 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
67 | 69 |
68 // static | 70 // static |
69 void AppListService::RecordShowTimings(const base::CommandLine& command_line) {} | 71 void AppListService::RecordShowTimings(const base::CommandLine& command_line) {} |
OLD | NEW |