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

Unified Diff: components/ntp_tiles/popular_sites.h

Issue 2695713004: Add baked-in favicons for default popular sites on NTP (Closed)
Patch Set: Drop bool from callback Created 3 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: components/ntp_tiles/popular_sites.h
diff --git a/components/ntp_tiles/popular_sites.h b/components/ntp_tiles/popular_sites.h
index dde8459ba5b2c74db311b268852b52fb35d8d775..77d5f6b5ffcde15cba448c51e2c2fa75fb503f57 100644
--- a/components/ntp_tiles/popular_sites.h
+++ b/components/ntp_tiles/popular_sites.h
@@ -37,6 +37,7 @@ class PopularSites {
GURL favicon_url;
GURL large_icon_url;
GURL thumbnail_url;
+ int default_resource_id; // <0 if there is none. Used for popular defaults.
mastiz 2017/03/01 08:48:12 Rename such that the term 'icon' is part of the na
mastiz 2017/03/01 08:48:12 Did you choose -1 because 0 is a valid resource id
fhorschig 2017/03/01 20:57:35 I was asked to change from -1 to 0. Partly because
fhorschig 2017/03/01 20:57:35 Done.
mastiz 2017/03/02 11:05:39 Did you mean from 0 to -1? Is 0 a valid resource I
fhorschig 2017/03/02 11:56:24 Yes, this is what I meant. 0 is (technically) vali
};
using SitesVector = std::vector<Site>;

Powered by Google App Engine
This is Rietveld 408576698