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

Unified Diff: ash/shell.cc

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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 7b809cb0f826ca6e76cfd9f135549ea51f5c7986..95457e9e8a8031d9d05d036b6be413ff7893d6db 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -631,6 +631,11 @@ void Shell::ToggleAppList(aura::Window* window) {
app_list_controller_->SetVisible(!app_list_controller_->IsVisible(), window);
}
+void Shell::SetAppListDnDHost(app_list::ApplicationDnDHost* dnd_host) {
+ if (app_list_controller_.get())
+ app_list_controller_->SetAppListDnDHost(dnd_host);
+}
+
bool Shell::GetAppListTargetVisibility() const {
return app_list_controller_.get() &&
app_list_controller_->GetTargetVisibility();

Powered by Google App Engine
This is Rietveld 408576698