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

Unified Diff: chrome/browser/ui/app_list/start_page_service.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
Index: chrome/browser/ui/app_list/start_page_service.h
diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h
index 06b023863ac21b8c98892aadf2cc21963eb945ed..5547d4478b21937f70230fb1be716779f347fcf6 100644
--- a/chrome/browser/ui/app_list/start_page_service.h
+++ b/chrome/browser/ui/app_list/start_page_service.h
@@ -77,6 +77,9 @@ class StartPageService : public KeyedService,
content::WebContents* GetStartPageContents();
content::WebContents* GetSpeechRecognitionContents();
+ void set_search_engine_is_google(bool search_engine_is_google) {
+ search_engine_is_google_ = search_engine_is_google;
+ }
Profile* profile() { return profile_; }
SpeechRecognitionState state() { return state_; }
@@ -167,6 +170,7 @@ class StartPageService : public KeyedService,
#endif
scoped_ptr<NetworkChangeObserver> network_change_observer_;
+ bool search_engine_is_google_;
scoped_ptr<net::URLFetcher> doodle_fetcher_;
base::WeakPtrFactory<StartPageService> weak_factory_;
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698