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

Unified Diff: ui/app_list/apps_grid_view_delegate.h

Issue 17370003: [Win] App launcher drag/drop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 7 years, 6 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: ui/app_list/apps_grid_view_delegate.h
diff --git a/ui/app_list/apps_grid_view_delegate.h b/ui/app_list/apps_grid_view_delegate.h
index 90a892b9b767803a9ec1e3ab65f46af5e4ce4b5a..875cb080a89e567792fd79b17605cb5e5e8b139b 100644
--- a/ui/app_list/apps_grid_view_delegate.h
+++ b/ui/app_list/apps_grid_view_delegate.h
@@ -5,8 +5,13 @@
#ifndef UI_APP_LIST_APPS_GRID_VIEW_DELEGATE_H_
#define UI_APP_LIST_APPS_GRID_VIEW_DELEGATE_H_
+#include "base/callback_forward.h"
#include "ui/app_list/app_list_export.h"
+namespace base {
+class FilePath;
+}
+
namespace app_list {
class AppListItemModel;
@@ -17,6 +22,11 @@ class APP_LIST_EXPORT AppsGridViewDelegate {
// the flags of the keyboard/mouse event that triggers the activation request.
virtual void ActivateApp(AppListItemModel* item, int event_flags) = 0;
+ // Gets the path to a shortcut for the app represented by |item|.
sky 2013/06/19 14:07:40 Document that |callback| may be run immediately.
koz (OOO until 15th September) 2013/06/20 13:52:23 Done.
+ virtual void GetShortcutPathForApp(
+ const std::string& app_id,
+ base::Callback<void(const base::FilePath&)> callback) = 0;
sky 2013/06/19 14:07:40 const Callback& ?
koz (OOO until 15th September) 2013/06/20 13:52:23 Done.
+
protected:
virtual ~AppsGridViewDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698