Index: ash/wm/app_list_controller.cc |
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
index 6776b60a651cf0342447b812ba1fe116a320a32a..7edfd3922da109c97eac592ed8a6506010dd7077 100644 |
--- a/ash/wm/app_list_controller.cc |
+++ b/ash/wm/app_list_controller.cc |
@@ -161,6 +161,12 @@ aura::Window* AppListController::GetWindow() { |
return is_visible_ && view_ ? view_->GetWidget()->GetNativeWindow() : NULL; |
} |
+void AppListController::SetDragAndDropHostOfCurrentAppList( |
+ app_list::ApplicationDragAndDropHost* drag_and_drop_host) { |
+ if (view_ && is_visible_) |
+ view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host); |
+} |
+ |
void AppListController::AddObserver(AppListControllerObserver* observer) { |
observers_.AddObserver(observer); |
} |