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

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

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 comment, add service dependency 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 | « ui/app_list/app_list_model_observer.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | 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.h
diff --git a/ui/app_list/views/app_list_main_view.h b/ui/app_list/views/app_list_main_view.h
index be70a96d5744d0fe461945c62c2bedcd954aa1c6..7b04abf40e5541ac54e2a6b825fbb10f95846d9d 100644
--- a/ui/app_list/views/app_list_main_view.h
+++ b/ui/app_list/views/app_list_main_view.h
@@ -73,8 +73,12 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
// Called when the search box's visibility is changed.
void NotifySearchBoxVisibilityChanged();
+ bool ShouldShowCustomLauncherPage() const;
+ void UpdateCustomLauncherPageVisibility();
+
// Overridden from AppListModelObserver:
void OnCustomLauncherPageEnabledStateChanged(bool enabled) override;
+ void OnSearchEngineIsGoogleChanged(bool is_google) override;
private:
class IconLoader;
« no previous file with comments | « ui/app_list/app_list_model_observer.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698