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

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

Issue 907833002: Hide experimental app list Google logo and custom launcher page when search engine is not Google. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_app_list_bg_color
Patch Set: address comments, disable animation to hidden views 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
Index: ui/app_list/views/start_page_view.cc
diff --git a/ui/app_list/views/start_page_view.cc b/ui/app_list/views/start_page_view.cc
index 8ab707f33fd9837c8afbfc6d6ac791a8d8a867f2..20353375227af15c950c3569c3fb49ff664ee94c 100644
--- a/ui/app_list/views/start_page_view.cc
+++ b/ui/app_list/views/start_page_view.cc
@@ -317,7 +317,9 @@ void StartPageView::UpdateCustomPageClickzoneVisibility() {
if (!custom_page_clickzone)
return;
- if (app_list_main_view_->contents_view()->ShouldShowCustomPageClickzone()) {
+ if (app_list_main_view_->ShouldShowCustomLauncherPage() &&
+ app_list_main_view_->contents_view()->IsStateActive(
+ AppListModel::STATE_START)) {
custom_page_clickzone->ShowInactive();
return;
}
« chrome/browser/ui/app_list/start_page_service.cc ('K') | « ui/app_list/views/start_page_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698