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

Unified Diff: chrome/browser/android/logo_service.cc

Issue 2760003002: [Home] Use white doodle background when Chrome Home is enabled (Closed)
Patch Set: Update ios/chrome/browser/google/google_logo_service.mm Created 3 years, 9 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 | « no previous file | components/search_provider_logos/google_logo_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_service.cc
diff --git a/chrome/browser/android/logo_service.cc b/chrome/browser/android/logo_service.cc
index ae0796acc75123c4fe35e0c269b06b7c276fedf7..24cbd94ff069e9bc578d98fa6917fad1d3f5db9b 100644
--- a/chrome/browser/android/logo_service.cc
+++ b/chrome/browser/android/logo_service.cc
@@ -8,6 +8,7 @@
#include "base/memory/weak_ptr.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/thread_task_runner_handle.h"
+#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/image_decoder.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
@@ -122,12 +123,14 @@ void LogoService::GetLogo(search_provider_logos::LogoObserver* observer) {
new ChromeLogoDelegate())));
}
+ bool gray_background =
gone 2017/03/20 18:01:36 use_gray_background? sounds like the background i
Theresa 2017/03/20 21:58:57 Done.
+ !base::FeatureList::IsEnabled(chrome::android::kChromeHomeFeature);
logo_tracker_->SetServerAPI(
GetGoogleDoodleURL(profile_),
base::Bind(&search_provider_logos::GoogleParseLogoResponse),
base::Bind(&search_provider_logos::GoogleAppendQueryparamsToLogoURL),
true, /* wants_cta */
- true /* transparent */);
+ gray_background);
logo_tracker_->GetLogo(observer);
}
« no previous file with comments | « no previous file | components/search_provider_logos/google_logo_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698