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

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: use AppListModel to hide everything, also hide the custom page view 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..787c2e343931d757eff0a75a9783d4dea6345e95 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_doodle_enabled(bool doodle_enabled) {
+ doodle_enabled_ = doodle_enabled;
+ }
Profile* profile() { return profile_; }
SpeechRecognitionState state() { return state_; }
@@ -164,6 +167,7 @@ class StartPageService : public KeyedService,
#endif
scoped_ptr<NetworkChangeObserver> network_change_observer_;
+ bool doodle_enabled_;
Matt Giuca 2015/02/17 00:23:34 Do you think it would be better to call this |sear
calamity 2015/02/17 06:16:37 Done.
scoped_ptr<net::URLFetcher> doodle_fetcher_;
base::WeakPtrFactory<StartPageService> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698