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

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

Issue 10900018: Introduce App Launcher for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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/app_list/app_list_controller.h
diff --git a/chrome/browser/ui/app_list/app_list_controller.h b/chrome/browser/ui/app_list/app_list_controller.h
index 65aaa6a424437586b4f0085c30206a2194aee5ff..dcfe8607ddccaee71920ad3db371ab780acbbfaf 100644
--- a/chrome/browser/ui/app_list/app_list_controller.h
+++ b/chrome/browser/ui/app_list/app_list_controller.h
@@ -7,6 +7,10 @@
#include <string>
+namespace gfx {
+class ImageSkia;
+}
+
class Profile;
// Interface to allow the view delegate to call out to whatever is controlling
@@ -29,6 +33,13 @@ class AppListController {
virtual void ActivateApp(Profile* profile,
const std::string& extension_id,
int event_flags) = 0;
+
+ // Get the window icon to show, if any.
+ virtual gfx::ImageSkia GetWindowAppIcon() = 0;
};
+namespace app_list_controller {
xiyuan 2012/08/29 17:39:15 nit: insert blank line after "namespace {" and bef
benwells 2012/08/30 06:51:30 Done.
+ void ShowAppList();
xiyuan 2012/08/29 17:39:15 Do we also need a HideAppList method?
benwells 2012/08/30 06:51:30 So far, I haven't had a need for it as the view in
+}
+
#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698