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

Unified Diff: ui/app_list/views/app_list_main_view.cc

Issue 958133005: Fix custom launcher pages showing when setEnabled(false) is called. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tab_focus_SOLVED
Patch Set: make into minimal diff fix Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index df9f32b49734ed99b4df132e90fb4f3d58072eb3..dceae0faa72d4f49bddc4e827b990d5bc0c64783 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -271,7 +271,7 @@ void AppListMainView::OnCustomLauncherPageEnabledStateChanged(bool enabled) {
if (!custom_page)
return;
- if (enabled) {
+ if (ShouldShowCustomLauncherPage()) {
// Make the custom page view visible again.
custom_page->SetVisible(true);
} else if (contents_view_->IsStateActive(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698