Home | History | Annotate | Download | only in browser

Lines Matching refs:FAVICON

28 // FaviconHelper is used to fetch the favicon for TabContents.
30 // FetchFavicon requests the favicon from the favicon service which in turn
31 // requests the favicon from the history database. At this point
33 // favicon. To ensure we handle reloading stale favicons as well as
34 // reloading a favicon on page reload we always request the favicon from
35 // history regardless of whether the NavigationEntry has a favicon.
39 // db on our request for the favicon (OnFaviconDataForInitialURL),
40 // or a message from the renderer giving us the URL of the favicon for
42 // . If the history db has a valid up to date favicon for the page, we update
43 // the NavigationEntry and use the favicon.
44 // . When we receive the favicon url if it matches that of the NavigationEntry
45 // and the NavigationEntry's favicon is set, we do nothing (everything is
47 // . On the other hand if the database does not know the favicon for url, or
48 // the favicon is out date, or the URL from the renderer does not match that
51 // the favicon url and the callback from history. We wait to ensure we
52 // truly know both the favicon url and the state of the database.
55 // . If we have a valid favicon, but it is expired we ask the renderer to
56 // download the favicon.
58 // page url to favicon url and call us back with the favicon. Remember, it is
59 // possible for the db to already have the favicon, just not the mapping
60 // between page to favicon url. The callback for this is OnFaviconData.
62 // OnFaviconData either updates the favicon of the NavigationEntry (if the
63 // db knew about the favicon), or requests the renderer to download the
64 // favicon.
66 // When the renderer downloads the favicon SetFaviconImageData is invoked,
67 // at which point we update the favicon of the NavigationEntry and notify
68 // the database to save the favicon.
73 FAVICON,
80 // Initiates loading the favicon for the specified url.
109 // Asks the render to download favicon, returns the request id.
112 // Ask the favicon from history
139 // Returns true if the favicon should be saved.
169 history::FaviconData favicon);
171 // If the favicon has expired, asks the renderer to download the favicon.
180 history::FaviconData favicon);
190 // Sets the image data for the favicon. This is invoked asynchronously after
191 // we request the TabContents to download the favicon.
197 // Converts the FAVICON's image data to an SkBitmap and sets it on the
199 // If the TabContents has a delegate, it is notified of the new favicon
220 return icon_types_ == history::FAVICON ? kFaviconSize : 0;
226 // URL of the page we're requesting the favicon for.
229 // Whether we got the initial response for the favicon back from the renderer.
230 // See "Favicon Details" in tab_contents.cc for more details.
233 // Whether the favicon is out of date. If true, it means history knows about
234 // the favicon, but we need to download the favicon because the icon has
236 // See "Favicon Details" in tab_contents.cc for more details.
246 // The prioritized favicon candidates from the page back from the renderer.