Chromium Code Reviews| 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 a6892453639cc6068ef8e2d172a8b4beda9bf590..1ad3b1d4d34091b190a491da1cd1309af13de8f1 100644 |
| --- a/ui/app_list/views/app_list_view.cc |
| +++ b/ui/app_list/views/app_list_view.cc |
| @@ -121,13 +121,18 @@ void AppListView::SetAnchorPoint(const gfx::Point& anchor_point) { |
| SizeToContents(); // Repositions view relative to the anchor. |
| } |
| +void AppListView::SetAppListDnDHost(app_list::ApplicationDnDHost* dnd_host) { |
| + DCHECK(app_list_main_view_); |
|
James Cook
2013/04/29 22:08:29
I like asserts!
Mr4D (OOO till 08-26)
2013/04/30 16:59:01
Okay, converted into a CHECK since this should not
|
| + app_list_main_view_->SetAppListDnDHost(dnd_host); |
| +} |
| + |
| void AppListView::ShowWhenReady() { |
| app_list_main_view_->ShowAppListWhenReady(); |
| } |
| void AppListView::Close() { |
| app_list_main_view_->Close(); |
| - |
| + app_list_main_view_ = NULL; |
| if (delegate_.get()) |
| delegate_->Dismiss(); |
| else |