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

Unified Diff: ui/app_list/views/app_list_view.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: ui/app_list/views/app_list_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index 486dfcef3ab824f0c9889aa6e3009ea365b4749c..eb21ceb3ed654417e46415704c500405ec5e046e 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -15,7 +15,7 @@ class Widget;
}
namespace app_list {
-
+class ApplicationDragAndDropHost;
class AppListMainView;
class AppListModel;
class AppListViewDelegate;
@@ -44,6 +44,13 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
void SetAnchorPoint(const gfx::Point& anchor_point);
+ // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
+ // operations outside the application list. This has to be called after
+ // InitAsBubble was called since the app list object needs to exist so that
+ // it can set the host.
+ void SetDragAndDropHostOfCurrentAppList(
+ app_list::ApplicationDragAndDropHost* drag_and_drop_host);
+
// Shows the UI when there are no pending icon loads. Otherwise, starts a
// timer to show the UI when a maximum allowed wait time has expired.
void ShowWhenReady();

Powered by Google App Engine
This is Rietveld 408576698