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

Unified Diff: components/search_provider_logos/google_logo_api.cc

Issue 2760003002: [Home] Use white doodle background when Chrome Home is enabled (Closed)
Patch Set: [Home] Use white doodle background when Chrome Home is enabled 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 | « components/search_provider_logos/google_logo_api.h ('k') | components/search_provider_logos/logo_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/google_logo_api.cc
diff --git a/components/search_provider_logos/google_logo_api.cc b/components/search_provider_logos/google_logo_api.cc
index 40fc1e8d596bdb624be3c254a0b18ce3f76b19f0..82772fd6c77aea3b914448e65ce88b3c27a51849 100644
--- a/components/search_provider_logos/google_logo_api.cc
+++ b/components/search_provider_logos/google_logo_api.cc
@@ -23,7 +23,7 @@ const char kResponsePreamble[] = ")]}'";
GURL GoogleAppendQueryparamsToLogoURL(const GURL& logo_url,
const std::string& fingerprint,
bool wants_cta,
- bool transparent) {
+ bool gray_background) {
// Note: we can't just use net::AppendQueryParameter() because it escapes
// ":" to "%3A", but the server requires the colon not to be escaped.
// See: http://crbug.com/413845
@@ -43,7 +43,7 @@ GURL GoogleAppendQueryparamsToLogoURL(const GURL& logo_url,
if (wants_cta)
params.push_back("cta:1");
- if (transparent) {
+ if (gray_background) {
params.push_back("transp:1");
params.push_back("graybg:1");
}
« no previous file with comments | « components/search_provider_logos/google_logo_api.h ('k') | components/search_provider_logos/logo_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698