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

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

Issue 2582743002: Remove obsolete app_list Linux code. (Closed)
Patch Set: tapted comments. Created 4 years 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/views/app_list/linux/app_list_service_linux.h
diff --git a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h b/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h
deleted file mode 100644
index fb7cf76b707b9b5ada09edfd267dc3ad441cc6d3..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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_VIEWS_APP_LIST_LINUX_APP_LIST_SERVICE_LINUX_H_
-#define CHROME_BROWSER_UI_VIEWS_APP_LIST_LINUX_APP_LIST_SERVICE_LINUX_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/app_list/app_list_service_views.h"
-#include "ui/app_list/views/app_list_view_observer.h"
-
-namespace base {
-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 AppListServiceViews,
- public app_list::AppListViewObserver {
- public:
- ~AppListServiceLinux() override;
-
- static AppListServiceLinux* GetInstance();
-
- // AppListService overrides:
- void CreateShortcut() override;
-
- // app_list::AppListViewObserver overrides:
- void OnActivationChanged(views::Widget* widget, bool active) override;
-
- private:
- friend struct base::DefaultSingletonTraits<AppListServiceLinux>;
-
- // AppListShowerDelegate overrides:
- void OnViewCreated() override;
- void OnViewBeingDestroyed() override;
- void OnViewDismissed() override;
- void MoveNearCursor(app_list::AppListView* view) override;
-
- AppListServiceLinux();
-
- DISALLOW_COPY_AND_ASSIGN(AppListServiceLinux);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_LINUX_APP_LIST_SERVICE_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698