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

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 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: 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 7a7872b1c3e8eb3b058eb86c02d9eaeef8b0d563..1de2132050890b249ee16a263c62f3c415a80c78 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_; }
@@ -164,6 +167,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_;

Powered by Google App Engine
This is Rietveld 408576698