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

Unified Diff: ui/app_list/presenter/app_list_presenter_impl.cc

Issue 2434573004: Close app list widget when users click outside of the widget (Closed)
Patch Set: Call AppListPresenterImpl::Dismiss() in AppListPresenterImpl::~AppListPresenterImpl() to ensure de… Created 4 years, 2 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: ui/app_list/presenter/app_list_presenter_impl.cc
diff --git a/ui/app_list/presenter/app_list_presenter_impl.cc b/ui/app_list/presenter/app_list_presenter_impl.cc
index cd181d1657ed606e57ce605f0824b4b262a8eb1d..deab037fcb4953abee017954ddc0e44aeed56efb 100644
--- a/ui/app_list/presenter/app_list_presenter_impl.cc
+++ b/ui/app_list/presenter/app_list_presenter_impl.cc
@@ -37,6 +37,7 @@ AppListPresenterImpl::AppListPresenterImpl(
}
AppListPresenterImpl::~AppListPresenterImpl() {
+ AppListPresenterImpl::Dismiss();
mfomitchev 2016/10/20 19:52:23 remove "AppListPresenterImpl::"
thanhph 2016/10/20 19:58:07 Ok!
presenter_delegate_.reset();
// Ensures app list view goes before the controller since pagination model
// lives in the controller and app list view would access it on destruction.

Powered by Google App Engine
This is Rietveld 408576698