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

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 ash 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..b9fa37c6ed5ac61af2ebe172d95251af942e1c3f 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.h"
xiyuan 2013/06/19 05:41:38 nit: callback_forward.h here and callback.h in cc
koz (OOO until 15th September) 2013/06/19 07:55:08 Done.
#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|.
+ virtual void GetShortcutPathForApp(
+ const std::string& app_id,
+ base::Callback<void(const base::FilePath&)> callback) = 0;
+
protected:
virtual ~AppsGridViewDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698