| Index: ui/app_list/app_list_view_delegate.h
|
| diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
|
| index 1e1150bdf867c41ff36630032e028d2046b9da95..bd7e3d3837f75193f4d69cffe578b1c006a48ef5 100644
|
| --- a/ui/app_list/app_list_view_delegate.h
|
| +++ b/ui/app_list/app_list_view_delegate.h
|
| @@ -5,9 +5,14 @@
|
| #ifndef UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
|
| #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
|
|
|
| +#include "base/callback_forward.h"
|
| #include "base/strings/string16.h"
|
| #include "ui/app_list/app_list_export.h"
|
|
|
| +namespace base {
|
| +class FilePath;
|
| +}
|
| +
|
| namespace gfx {
|
| class ImageSkia;
|
| }
|
| @@ -31,6 +36,12 @@ class APP_LIST_EXPORT AppListViewDelegate {
|
| // Gets the SigninDelegate for the app list. Owned by the AppListViewDelegate.
|
| virtual SigninDelegate* GetSigninDelegate() = 0;
|
|
|
| + // Gets a path to a shortcut for the given app. Returns asynchronously as the
|
| + // shortcut may not exist yet.
|
| + virtual void GetShortcutPathForApp(
|
| + const std::string& app_id,
|
| + const base::Callback<void(const base::FilePath&)>& callback) = 0;
|
| +
|
| // Invoked when an AppListeItemModelView is activated by click or enter key.
|
| virtual void ActivateAppListItem(AppListItemModel* item,
|
| int event_flags) = 0;
|
|
|