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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller.h

Issue 10871011: Move common app_list delegate code to chrome/browser/ui/app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test file only in chrome Created 8 years, 4 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/ash/app_list/app_list_controller.h
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller.h b/chrome/browser/ui/ash/app_list/app_list_controller.h
deleted file mode 100644
index cb31328e715d01d5c79ae57f0f267794243fe16d..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/app_list/app_list_controller.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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_ASH_APP_LIST_APP_LIST_CONTROLLER_H_
-#define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_H_
-
-#include <string>
-
-class Profile;
-
-// Interface to allow the view delegate to call out to whatever is controlling
-// the app list. This will have different implementations for different
-// platforms.
-class AppListController {
- public:
- virtual ~AppListController() {}
-
- // Handle the controller being closed.
- virtual void CloseView() = 0;
-
- // Control of pinning apps.
- virtual bool IsAppPinned(const std::string& extension_id) = 0;
- virtual void PinApp(const std::string& extension_id) = 0;
- virtual void UnpinApp(const std::string& extension_id) = 0;
- virtual bool CanPin() = 0;
-
- // App has been clicked on in the app list.
- virtual void ActivateApp(Profile* profile,
- const std::string& extension_id,
- int event_flags) = 0;
-};
-
-#endif // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_H_
« no previous file with comments | « chrome/browser/ui/app_list/search_builder.cc ('k') | chrome/browser/ui/ash/app_list/app_list_controller_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698