Home | History | Annotate | Download | only in browser

Lines Matching full:icon_type

26 // Returns history::IconType the given icon_type corresponds to.
27 history::IconType ToHistoryIconType(FaviconURL::IconType icon_type) {
28 switch (icon_type) {
45 history::IconType icon_type) {
47 favicon_url.icon_type == static_cast<FaviconURL::IconType>(icon_type);
54 icon_type(history::INVALID_ICON) {
60 history::IconType icon_type)
64 icon_type(icon_type) {
67 FaviconHelper::FaviconHelper(TabContents* tab_contents, Type icon_type)
71 icon_types_(icon_type == FAVICON ? history::FAVICON :
108 history::IconType icon_type,
111 return ScheduleDownload(GURL(), image_url, image_size, icon_type, callback);
122 history::IconType icon_type) {
131 SetHistoryFavicon(url, image_url, image_data, icon_type);
134 if (url == url_ && icon_type == history::FAVICON) {
170 if (!i->icon_url.is_empty() && (i->icon_type & icon_types_)) {
190 if (current_candidate()->icon_type == FaviconURL::FAVICON) {
201 history_icon_.icon_url, history_icon_.icon_type)) {
207 ToHistoryIconType(current_candidate()->icon_type));
229 history::IconType icon_type,
233 icon_type, consumer, callback);
238 history::IconType icon_type,
241 GetFaviconService()->GetFavicon(icon_url, icon_type, consumer, callback);
257 history::IconType icon_type) {
258 GetFaviconService()->SetFavicon(page_url, icon_url, image_data, icon_type);
294 i->second.icon_type)) {
298 SetFavicon(i->second.url, image_url, image, i->second.icon_type);
321 if (favicon.known_icon && favicon.icon_type == history::FAVICON &&
325 *current_candidate(), favicon.icon_url, favicon.icon_type))) {
339 *current_candidate(), favicon.icon_url, favicon.icon_type)) {
344 static_cast<history::IconType>(current_candidate()->icon_type));
351 ToHistoryIconType(current_candidate()->icon_type));
360 history::IconType icon_type) {
363 ScheduleDownload(page_url, icon_url, preferred_icon_size(), icon_type,
370 GetFavicon(icon_url, icon_type, &cancelable_consumer_,
379 UpdateFaviconMappingAndFetch(page_url, icon_url, icon_type,
394 if (favicon.icon_type == history::FAVICON) {
410 *current_candidate(), favicon.icon_url, favicon.icon_type)))) {
415 ToHistoryIconType(current_candidate()->icon_type), NULL);
423 history::IconType icon_type,
430 DownloadRequest(url, image_url, callback, icon_type);