OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/app_list/app_list_service_linux.h" | |
6 | |
7 #include "base/memory/singleton.h" | |
8 | |
9 AppListServiceLinux::~AppListServiceLinux() {} | |
10 | |
11 // static | |
12 AppListServiceLinux* AppListServiceLinux::GetInstance() { | |
13 return Singleton<AppListServiceLinux, | |
14 LeakySingletonTraits<AppListServiceLinux> >::get(); | |
15 } | |
16 | |
17 void AppListServiceLinux::Init(Profile* initial_profile) { | |
18 HandleCommandLineFlags(initial_profile); | |
19 } | |
20 | |
21 void AppListServiceLinux::CreateForProfile(Profile* requested_profile) { | |
22 NOTIMPLEMENTED(); | |
23 } | |
24 | |
25 void AppListServiceLinux::ShowForProfile(Profile* requested_profile) { | |
26 NOTIMPLEMENTED(); | |
27 } | |
28 | |
29 void AppListServiceLinux::DismissAppList() { | |
30 NOTIMPLEMENTED(); | |
31 } | |
32 | |
33 bool AppListServiceLinux::IsAppListVisible() const { | |
34 NOTIMPLEMENTED(); | |
35 return false; | |
36 } | |
37 | |
38 gfx::NativeWindow AppListServiceLinux::GetAppListWindow() { | |
39 NOTIMPLEMENTED(); | |
40 return gfx::NativeWindow(); | |
41 } | |
42 | |
43 Profile* AppListServiceLinux::GetCurrentAppListProfile() { | |
44 NOTIMPLEMENTED(); | |
45 return NULL; | |
46 } | |
47 | |
48 AppListControllerDelegate* AppListServiceLinux::CreateControllerDelegate() { | |
49 NOTIMPLEMENTED(); | |
50 return NULL; | |
51 } | |
52 | |
53 void AppListServiceLinux::CreateShortcut() { | |
54 NOTIMPLEMENTED(); | |
55 } | |
56 | |
57 AppListServiceLinux::AppListServiceLinux() {} | |
58 | |
59 // static | |
60 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { | |
61 return AppListServiceLinux::GetInstance(); | |
62 } | |
63 | |
64 // static | |
65 void AppListService::InitAll(Profile* initial_profile) { | |
66 AppListServiceLinux::GetInstance()->Init(initial_profile); | |
67 } | |
OLD | NEW |