Index: ui/app_list/views/app_list_view.cc |
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc |
index e81bfdf1aa8d02add9b10ea78b925744a929a4d3..25619fbfc96484c9dab472b4ee14d97cfcd3293e 100644 |
--- a/ui/app_list/views/app_list_view.cc |
+++ b/ui/app_list/views/app_list_view.cc |
@@ -128,13 +128,19 @@ void AppListView::SetAnchorPoint(const gfx::Point& anchor_point) { |
SizeToContents(); // Repositions view relative to the anchor. |
} |
+void AppListView::SetDragAndDropHostOfCurrentAppList( |
+ app_list::ApplicationDragAndDropHost* drag_and_drop_host) { |
+ CHECK(app_list_main_view_); |
+ app_list_main_view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host); |
+} |
+ |
void AppListView::ShowWhenReady() { |
app_list_main_view_->ShowAppListWhenReady(); |
} |
void AppListView::Close() { |
app_list_main_view_->Close(); |
- |
+ app_list_main_view_ = NULL; |
koz (OOO until 15th September)
2013/05/08 02:00:39
I don't think we want to set this to NULL because
Mr4D (OOO till 08-26)
2013/05/08 02:53:35
Done.
|
if (delegate_) |
delegate_->Dismiss(); |
else |