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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 virtual base::FilePath GetProfilePath( | 28 virtual base::FilePath GetProfilePath( |
29 const base::FilePath& user_data_dir) OVERRIDE { | 29 const base::FilePath& user_data_dir) OVERRIDE { |
30 return base::FilePath(); | 30 return base::FilePath(); |
31 } | 31 } |
32 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE {} | 32 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE {} |
33 | 33 |
34 virtual void Show() OVERRIDE {} | 34 virtual void Show() OVERRIDE {} |
35 virtual void CreateForProfile(Profile* profile) OVERRIDE {} | 35 virtual void CreateForProfile(Profile* profile) OVERRIDE {} |
36 virtual void ShowForProfile(Profile* profile) OVERRIDE {} | 36 virtual void ShowForProfile(Profile* profile) OVERRIDE {} |
| 37 virtual void AutoShowForProfile(Profile* profile) OVERRIDE {} |
37 virtual void DismissAppList() OVERRIDE {} | 38 virtual void DismissAppList() OVERRIDE {} |
38 | 39 |
39 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } | 40 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } |
40 virtual bool IsAppListVisible() const OVERRIDE { return false; } | 41 virtual bool IsAppListVisible() const OVERRIDE { return false; } |
41 virtual void EnableAppList(Profile* initial_profile) OVERRIDE {} | 42 virtual void EnableAppList(Profile* initial_profile, |
42 | 43 AppListEnableSource enable_source) OVERRIDE {} |
43 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE { | 44 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE { |
44 return NULL; | 45 return NULL; |
45 } | 46 } |
46 | 47 |
47 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { | 48 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { |
48 return NULL; | 49 return NULL; |
49 } | 50 } |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 52 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace | 55 } // namespace |
55 | 56 |
56 // static | 57 // static |
57 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { | 58 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { |
58 return AppListServiceDisabled::GetInstance(); | 59 return AppListServiceDisabled::GetInstance(); |
59 } | 60 } |
60 | 61 |
61 // static | 62 // static |
62 void AppListService::InitAll(Profile* initial_profile) {} | 63 void AppListService::InitAll(Profile* initial_profile) {} |
63 | 64 |
64 // static | 65 // static |
65 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 66 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
66 | 67 |
67 // static | 68 // static |
68 void AppListService::RecordShowTimings(const CommandLine& command_line) {} | 69 void AppListService::RecordShowTimings(const CommandLine& command_line) {} |
OLD | NEW |