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 AppListControllerDelegate* AppListServiceLinux::CreateControllerDelegate() { |
| 44 NOTIMPLEMENTED(); |
| 45 return NULL; |
| 46 } |
| 47 |
| 48 void AppListServiceLinux::CreateShortcut() { |
| 49 NOTIMPLEMENTED(); |
| 50 } |
| 51 |
| 52 AppListServiceLinux::AppListServiceLinux() {} |
| 53 |
| 54 // static |
| 55 AppListService* AppListService::Get() { |
| 56 return AppListServiceLinux::GetInstance(); |
| 57 } |
| 58 |
| 59 // static |
| 60 void AppListService::InitAll(Profile* initial_profile) { |
| 61 Get()->Init(initial_profile); |
| 62 } |
OLD | NEW |