Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: chrome/browser/ui/app_list/app_list_service_linux.cc

Issue 24710002: Initial stubs for App Launcher on Linux Aura. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disable AppListControllerSearchResultsBrowserTest. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6261c2db2ce7dfa40234daedf568ab15d912e341
--- /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();
+}
+
+void AppListServiceLinux::Init(Profile* initial_profile) {
+ HandleCommandLineFlags(initial_profile);
+}
+
+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);
+}

Powered by Google App Engine
This is Rietveld 408576698