| Index: ui/app_list/app_list_view.cc
|
| diff --git a/ui/app_list/app_list_view.cc b/ui/app_list/app_list_view.cc
|
| index 97e4a9901462c089853b8afa6eb9157e88300b22..1773e972228695972523908644bcb537966ac29c 100644
|
| --- a/ui/app_list/app_list_view.cc
|
| +++ b/ui/app_list/app_list_view.cc
|
| @@ -200,4 +200,18 @@ void AppListView::InvokeResultAction(const SearchResult& result,
|
| delegate_->InvokeSearchResultAction(result, action_index, event_flags);
|
| }
|
|
|
| +void AppListView::OnWidgetClosing(views::Widget* widget) {
|
| + BubbleDelegateView::OnWidgetClosing(widget);
|
| + if (delegate_.get() && widget == GetWidget())
|
| + delegate_->ViewClosing();
|
| +}
|
| +
|
| +void AppListView::OnWidgetActivationChanged(views::Widget* widget,
|
| + bool active) {
|
| + // Do not called inherited function as the bubble delegate auto close
|
| + // functionality is not used.
|
| + if (delegate_.get() && widget == GetWidget())
|
| + delegate_->ViewActivationChanged(active);
|
| +}
|
| +
|
| } // namespace app_list
|
|
|