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

Unified Diff: ash/wm/app_list_controller.h

Issue 14533006: Drag and drop between app list and launcher - First patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged & addressed Created 7 years, 7 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: ash/wm/app_list_controller.h
diff --git a/ash/wm/app_list_controller.h b/ash/wm/app_list_controller.h
index d2408d8bac4afba0be8384b8eb541311b07a71eb..6f05d6a97dd784453204f36504f9d1b46bb8d2b9 100644
--- a/ash/wm/app_list_controller.h
+++ b/ash/wm/app_list_controller.h
@@ -19,6 +19,7 @@
#include "ui/views/widget/widget_observer.h"
namespace app_list {
+class ApplicationDragAndDropHost;
class AppListView;
class PaginationModel;
}
@@ -61,6 +62,11 @@ class AppListController : public ui::EventHandler,
// Returns app list window or NULL if it is not visible.
aura::Window* GetWindow();
+ // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
+ // operations outside the application list.
+ void SetDragAndDropHostOfCurrentAppList(
koz (OOO until 15th September) 2013/05/08 02:00:39 Could you rename this to SetDragAndDropHost()? I t
Mr4D (OOO till 08-26) 2013/05/08 02:53:35 I did this because of my previous reviewer asked m
+ app_list::ApplicationDragAndDropHost* drag_and_drop_host);
+
private:
// Sets the app list view and attempts to show it.
void SetView(app_list::AppListView* view);

Powered by Google App Engine
This is Rietveld 408576698