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

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: Created 7 years, 8 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 dbed2016bc45cf36eab1bdd38840f774bbb431c9..55f4f715c76faa8a4a513379fd9cfe67856e75ba 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 ApplicationDnDHost;
class AppListMainView;
class AppListModel;
class AppListViewDelegate;
@@ -44,6 +44,11 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
void SetAnchorPoint(const gfx::Point& anchor_point);
+ // If |dnd_host| is not NULL it will be called upon drag and drop operations
+ // outside the application list. This call has to be called after
+ // InitAsBubble.
James Cook 2013/04/29 22:08:29 Comment why it must be called afterwards.
Mr4D (OOO till 08-26) 2013/04/30 16:59:01 Done.
+ void SetAppListDnDHost(app_list::ApplicationDnDHost* dnd_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