diff options
author | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 22:48:08 +0000 |
---|---|---|
committer | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 22:48:08 +0000 |
commit | 504fca8eaf5f65db2d3766f40be721639a3097f9 (patch) | |
tree | a20ca22730e186776050b991d1bee33d64d97eb1 /chrome/browser/bookmarks/chrome_bookmark_client.h | |
parent | 0d73f081788b8e3b33fac543af9ebaa6a9ae9b0f (diff) | |
download | chromium_src-504fca8eaf5f65db2d3766f40be721639a3097f9.zip chromium_src-504fca8eaf5f65db2d3766f40be721639a3097f9.tar.gz chromium_src-504fca8eaf5f65db2d3766f40be721639a3097f9.tar.bz2 |
Add support for different IconType in BookmarkNode
Chrome on iOS prefers to display touch icon over favicon if they
are available so make this feature selectable via the BookmarkClient.
BookmarkModel will try to download the touch icon if BookmarkClient
favor them and will fallback to using regular favicon. The type of
icon loaded is stored in the BookmarkNode to be used by the embedder.
BUG=364044
Review URL: https://codereview.chromium.org/264903002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/chrome_bookmark_client.h')
-rw-r--r-- | chrome/browser/bookmarks/chrome_bookmark_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/chrome_bookmark_client.h b/chrome/browser/bookmarks/chrome_bookmark_client.h index 380249c..a136f17 100644 --- a/chrome/browser/bookmarks/chrome_bookmark_client.h +++ b/chrome/browser/bookmarks/chrome_bookmark_client.h @@ -29,6 +29,7 @@ class ChromeBookmarkClient : public BookmarkClient, BookmarkModel* model() { return model_.get(); } // BookmarkClient: + virtual bool PreferTouchIcon() OVERRIDE; virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL( const GURL& page_url, int icon_types, |