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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 6672065: Support touch icon in FaviconHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reset candidates when FaviconURL is updated Created 9 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
Index: content/browser/tab_contents/tab_contents.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index c541425cec81ce18a7daf8c74a1a005d1781ca34..24c17ce94cb8b977b167d07590ee7d3310fcc0ea 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -800,6 +800,9 @@ class TabContents : public PageNavigator,
InstantCompleteBehavior behavior);
void OnInstantSupportDetermined(int32 page_id, bool result);
+ void OnUpdateFaviconURL(int32 page_id,
+ const std::vector<FaviconURL>& candidates);
+
// Changes the IsLoading state and notifies delegate as needed
// |details| is used to provide details on the load that just finished
// (but can be null if not applicable). Can be overridden.
@@ -1082,6 +1085,10 @@ class TabContents : public PageNavigator,
// Handles downloading favicons.
scoped_ptr<FaviconHelper> favicon_helper_;
+ // Handles downloading touchicons. It is NULL if
+ // browser_defaults::kEnableTouchIcon is false.
+ scoped_ptr<FaviconHelper> touch_icon_helper_;
+
// Cached web app info data.
WebApplicationInfo web_app_info_;

Powered by Google App Engine
This is Rietveld 408576698