Chromium Code Reviews| Index: chrome/browser/ui/app_list/app_list_service_linux.cc |
| diff --git a/chrome/browser/ui/app_list/app_list_service_linux.cc b/chrome/browser/ui/app_list/app_list_service_linux.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..219df5a5c6be47b6a75f0fd8cc1cc2a16af5a417 |
| --- /dev/null |
| +++ b/chrome/browser/ui/app_list/app_list_service_linux.cc |
| @@ -0,0 +1,62 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/ui/app_list/app_list_service_linux.h" |
| + |
| +#include "base/memory/singleton.h" |
| + |
| +AppListServiceLinux::~AppListServiceLinux() {} |
| + |
| +// static |
| +AppListServiceLinux* AppListServiceLinux::GetInstance() { |
| + return Singleton<AppListServiceLinux, |
| + LeakySingletonTraits<AppListServiceLinux> >::get(); |
|
Matt Giuca
2013/09/26 04:10:40
Can anybody explain why LeakySingletonTraits is us
tapted
2013/09/26 04:39:56
It prevents a call to the AppListServiceLinux dest
|
| +} |
| + |
| +void AppListServiceLinux::Init(Profile* initial_profile) { |
| + NOTIMPLEMENTED(); |
|
tapted
2013/09/26 04:39:56
You can probably just `HandleCommandLineFlags(init
|
| +} |
| + |
| +void AppListServiceLinux::CreateForProfile(Profile* requested_profile) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void AppListServiceLinux::ShowForProfile(Profile* requested_profile) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void AppListServiceLinux::DismissAppList() { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +bool AppListServiceLinux::IsAppListVisible() const { |
| + NOTIMPLEMENTED(); |
| + return false; |
| +} |
| + |
| +gfx::NativeWindow AppListServiceLinux::GetAppListWindow() { |
| + NOTIMPLEMENTED(); |
| + return gfx::NativeWindow(); |
| +} |
| + |
| +AppListControllerDelegate* AppListServiceLinux::CreateControllerDelegate() { |
| + NOTIMPLEMENTED(); |
| + return NULL; |
| +} |
| + |
| +void AppListServiceLinux::CreateShortcut() { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +AppListServiceLinux::AppListServiceLinux() {} |
| + |
| +// static |
| +AppListService* AppListService::Get() { |
| + return AppListServiceLinux::GetInstance(); |
| +} |
| + |
| +// static |
| +void AppListService::InitAll(Profile* initial_profile) { |
| + Get()->Init(initial_profile); |
| +} |