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

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

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.h
diff --git a/chrome/browser/ui/app_list/app_list_service_linux.h b/chrome/browser/ui/app_list/app_list_service_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..a0f4eb8b1a77a603b182f7592c98903b61ef7b3a
--- /dev/null
+++ b/chrome/browser/ui/app_list/app_list_service_linux.h
@@ -0,0 +1,40 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_LINUX_H_
+#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_LINUX_H_
+
+#include "chrome/browser/ui/app_list/app_list_service_impl.h"
+
+template <typename T> struct DefaultSingletonTraits;
+
+// AppListServiceLinux manages global resources needed for the app list to
+// operate, and controls when the app list is opened and closed.
+class AppListServiceLinux : public AppListServiceImpl {
+ public:
+ virtual ~AppListServiceLinux();
+
+ static AppListServiceLinux* GetInstance();
+
+ // AppListService overrides:
+ virtual void Init(Profile* initial_profile) OVERRIDE;
+ virtual void CreateForProfile(Profile* requested_profile) OVERRIDE;
+ virtual void ShowForProfile(Profile* requested_profile) OVERRIDE;
+ virtual void DismissAppList() OVERRIDE;
+ virtual bool IsAppListVisible() const OVERRIDE;
+ virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
+ virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE;
+
+ // AppListServiceImpl overrides:
+ virtual void CreateShortcut() OVERRIDE;
+
+ private:
+ friend struct DefaultSingletonTraits<AppListServiceLinux>;
+
+ AppListServiceLinux();
+
+ DISALLOW_COPY_AND_ASSIGN(AppListServiceLinux);
+};
+
+#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_LINUX_H_
« no previous file with comments | « chrome/browser/ui/app_list/app_list_controller_browsertest.cc ('k') | chrome/browser/ui/app_list/app_list_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698