Chromium Code Reviews| 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_ |