Home
last modified time | relevance | path

Searched refs:FAVICON (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/
Dfavicon_helper_unittest.cc283 TestFaviconHelper helper(page_url, contents(), FaviconHelper::FAVICON); in TEST_F()
291 EXPECT_EQ(history::FAVICON, history_handler->icon_type_); in TEST_F()
295 history_handler->favicon_data_.icon_type = history::FAVICON; in TEST_F()
310 urls.push_back(FaviconURL(icon_url, FaviconURL::FAVICON)); in TEST_F()
317 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F()
328 TestFaviconHelper helper(page_url, contents(), FaviconHelper::FAVICON); in TEST_F()
336 EXPECT_EQ(history::FAVICON, history_handler->icon_type_); in TEST_F()
340 history_handler->favicon_data_.icon_type = history::FAVICON; in TEST_F()
351 urls.push_back(FaviconURL(icon_url, FaviconURL::FAVICON)); in TEST_F()
358 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F()
[all …]
Dfavicon_helper.cc29 case FaviconURL::FAVICON: in ToHistoryIconType()
30 return history::FAVICON; in ToHistoryIconType()
71 icon_types_(icon_type == FAVICON ? history::FAVICON : in FaviconHelper()
134 if (url == url_ && icon_type == history::FAVICON) { in SetFavicon()
190 if (current_candidate()->icon_type == FaviconURL::FAVICON) { in OnUpdateFaviconURL()
193 history::FAVICON)) in OnUpdateFaviconURL()
321 if (favicon.known_icon && favicon.icon_type == history::FAVICON && in OnFaviconDataForInitialURL()
394 if (favicon.icon_type == history::FAVICON) { in OnFaviconData()
406 history::FAVICON, NULL); in OnFaviconData()
Dfavicon_helper.h73 FAVICON, enumerator
220 return icon_types_ == history::FAVICON ? kFaviconSize : 0; in preferred_icon_size()
Dpossible_url_model.cc166 result.url, history::FAVICON, &consumer_, in GetIcon()
Dcustom_home_pages_table_model.cc167 history::FAVICON, &query_consumer_, in LoadTitleAndFavicon()
/external/chromium/chrome/browser/history/
Dhistory_backend_unittest.cc220 FAVICON); in TEST_F()
222 FAVICON); in TEST_F()
326 GetFaviconIDForFaviconURL(favicon_url1, FAVICON, NULL); in TEST_F()
329 GetFaviconIDForFaviconURL(favicon_url2, FAVICON, NULL); in TEST_F()
334 EXPECT_EQ(out_favicon1, GetFavicon(outrow1.url(), FAVICON)); in TEST_F()
353 FAVICON); in TEST_F()
355 FAVICON); in TEST_F()
403 FAVICON, in TEST_F()
419 FAVICON, in TEST_F()
441 FAVICON, in TEST_F()
[all …]
Dthumbnail_database_unittest.cc122 FaviconID id = db.AddFavicon(url, FAVICON); in TEST_F()
207 FaviconID id2 = db.AddFavicon(url, FAVICON); in TEST_F()
216 EXPECT_TRUE(db.GetIconMappingForPageURL(url, FAVICON, NULL)); in TEST_F()
221 EXPECT_FALSE(db.GetIconMappingForPageURL(url, FAVICON, NULL)); in TEST_F()
239 FaviconID id2 = db.AddFavicon(url, FAVICON); in TEST_F()
302 FaviconID id = db.AddFavicon(url, FAVICON); in TEST_F()
309 EXPECT_TRUE(db.GetIconMappingForPageURL(url, FAVICON, &icon_mapping)); in TEST_F()
324 FaviconID id = db.AddFavicon(url, FAVICON); in TEST_F()
334 EXPECT_EQ(FAVICON, icon_mapping.front().icon_type); in TEST_F()
375 FaviconID id1 = db.AddFavicon(GURL("http://google.com"), FAVICON); in TEST_F()
[all …]
Dexpire_history_backend_unittest.cc204 FAVICON); in AddExampleData()
206 FAVICON); in AddExampleData()
416 FaviconID icon_id = thumb_db_->AddFavicon(favicon_url, FAVICON); in TEST_F()
463 FaviconID favicon_id = GetFavicon(last_row.url(), FAVICON); in TEST_F()
513 EXPECT_FALSE(GetFavicon(last_row.url(), FAVICON)); in TEST_F()
527 FaviconID favicon_id = GetFavicon(last_row.url(), FAVICON); in TEST_F()
565 FaviconID favicon_id = GetFavicon(url_row.url(), FAVICON); in TEST_F()
635 FaviconID favicon_id = GetFavicon(url_row1.url(), FAVICON); in TEST_F()
641 FaviconID favicon_id2 = GetFavicon(url_row2.url(), FAVICON); in TEST_F()
694 FaviconID favicon_id = GetFavicon(url_row1.url(), FAVICON); in TEST_F()
[all …]
Dhistory_types.h683 FAVICON = 1 << 0, enumerator
Dhistory_backend.cc1641 favicon_usage[i].favicon_url, history::FAVICON, NULL); in SetImportedFavicons()
1645 history::FAVICON); in SetImportedFavicons()
1674 if (!thumbnail_db_->GetIconMappingForPageURL(*url, FAVICON, NULL)) { in SetImportedFavicons()
1698 DCHECK(!page_url || (page_url && (icon_types == FAVICON || in UpdateFaviconMappingAndFetchImpl()
/external/chromium/chrome/browser/ui/webui/
Dfavicon_source.cc36 history::FAVICON, in StartDataRequest()
42 history::FAVICON, in StartDataRequest()
Dextension_icon_source.cc202 history::FAVICON, in LoadFaviconImage()
/external/chromium/chrome/common/
Dfavicon_url.h16 FAVICON = 1 << 0, enumerator
/external/chromium/webkit/glue/
Dresource_type.h26 FAVICON, // a favicon enumerator
/external/chromium/chrome/browser/bookmarks/
Dbookmark_html_writer_unittest.cc197 url1_favicon, icon_data, history::FAVICON); in TEST_F()
220 url1_favicon, empty_data, history::FAVICON); in TEST_F()
Dbookmark_html_writer.cc442 favicon_service->GetFaviconForURL(GURL(url), history::FAVICON, in FetchNextFavicon()
/external/chromium/chrome/browser/ui/web_applications/
Dweb_app_ui.cc140 history::FAVICON, in DownloadIcon()
/external/chromium/chrome/browser/ui/search_engines/
Dtemplate_url_table_model.cc94 favicon_service->GetFavicon(favicon_url, history::FAVICON, in LoadFavicon()
/external/chromium/chrome/browser/instant/
Dinstant_loader.cc335 history::FAVICON); in CommitHistory()
344 history::FAVICON); in CommitHistory()
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc234 entry->url(), history::FAVICON, &load_consumer_, in FetchFavicon()
/external/chromium/chrome/browser/extensions/
Dextension_web_ui.cc111 favicon.icon_type = history::FAVICON; in ForwardResult()
/external/chromium/chrome/browser/prerender/
Dprerender_contents.cc474 if (i->icon_type == FaviconURL::FAVICON) { in OnUpdateFaviconURL()
Dprerender_manager.cc342 urls.push_back(FaviconURL(icon_url, FaviconURL::FAVICON)); in MaybeUsePreloadedPage()
/external/chromium/chrome/browser/ui/views/
Dcreate_application_shortcut_view.cc460 history::FAVICON, in FetchIcon()
/external/chromium/chrome/browser/sync/glue/
Dbookmark_change_processor.cc545 history::FAVICON); in ApplyBookmarkFavicon()

12