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

Unified Diff: chrome/browser/ui/webui/ntp/most_visited_handler.cc

Issue 11038014: [Android] Upstream remaining changes to NTP UI code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed indentation nit Created 8 years, 2 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/webui/ntp/most_visited_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
index 09be6313d80eadfeb5064832c68729f3e6abecbd..6d6b786b8b2512edb3e83a254920f9e4e12769f1 100644
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
@@ -74,6 +74,12 @@ void MostVisitedHandler::RegisterMessages() {
ThumbnailSource* thumbnail_src = new ThumbnailSource(profile);
ChromeURLDataManager::AddDataSource(profile, thumbnail_src);
+#if defined(OS_ANDROID)
+ // Register chrome://touch-icon as a data source for touch icons or favicons.
+ ChromeURLDataManager::AddDataSource(profile,
+ new FaviconSource(profile, FaviconSource::ANY));
+#endif
+ // Register chrome://favicon as a data source for favicons.
ChromeURLDataManager::AddDataSource(profile,
new FaviconSource(profile, FaviconSource::FAVICON));

Powered by Google App Engine
This is Rietveld 408576698