Home
last modified time | relevance | path

Searched refs:favicon_base (Results 1 – 25 of 106) sorted by relevance

12345

/external/chromium_org/chrome/browser/favicon/
Dfavicon_service.cc32 const favicon_base::FaviconResultsCallback& callback, in CancelOrRunFaviconResultsCallback()
33 const std::vector<favicon_base::FaviconRawBitmapResult>& results) { in CancelOrRunFaviconResultsCallback()
42 const favicon_base::FaviconResultsCallback& callback, in RunWithEmptyResultAsync()
47 Bind(callback, std::vector<favicon_base::FaviconRawBitmapResult>())); in RunWithEmptyResultAsync()
55 const favicon_base::FaviconResultsCallback& callback, in GetFaviconForChromeURL()
60 favicon_base::FaviconResultsCallback cancelable_cb = in GetFaviconForChromeURL()
70 std::vector<float> scales = favicon_base::GetFaviconScales(); in GetPixelSizesForFaviconScales()
90 const favicon_base::FaviconResultsCallback& callback, in FaviconResultsCallbackRunner()
91 const std::vector<favicon_base::FaviconRawBitmapResult>* results) { in FaviconResultsCallbackRunner()
97 const favicon_base::FaviconImageCallback& callback, in GetFaviconImage()
[all …]
Dfavicon_service.h38 const favicon_base::FaviconResultsCallback& callback,
39 const std::vector<favicon_base::FaviconRawBitmapResult>* results);
53 const favicon_base::FaviconImageCallback& callback,
63 favicon_base::IconType icon_type,
65 const favicon_base::FaviconRawBitmapCallback& callback,
77 favicon_base::IconType icon_type,
79 const favicon_base::FaviconResultsCallback& callback,
95 const favicon_base::FaviconImageCallback& callback,
111 const favicon_base::FaviconRawBitmapCallback& callback,
119 const favicon_base::FaviconRawBitmapCallback& callback,
[all …]
Dfavicon_handler.h127 favicon_base::IconType icon_type,
128 const favicon_base::FaviconResultsCallback& callback,
133 favicon_base::IconType icon_type,
134 const favicon_base::FaviconResultsCallback& callback,
140 const favicon_base::FaviconResultsCallback& callback,
145 favicon_base::IconType icon_type,
166 favicon_base::IconType icon_type);
170 favicon_base::IconType icon_type;
182 favicon_base::IconType icon_type);
188 favicon_base::IconType icon_type;
[all …]
Dfavicon_handler.cc35 int GetMaximalIconSize(favicon_base::IconType icon_type) { in GetMaximalIconSize()
37 case favicon_base::FAVICON: in GetMaximalIconSize()
43 case favicon_base::TOUCH_ICON: in GetMaximalIconSize()
44 case favicon_base::TOUCH_PRECOMPOSED_ICON: in GetMaximalIconSize()
46 case favicon_base::INVALID_ICON: in GetMaximalIconSize()
55 favicon_base::IconType icon_type) { in DoUrlAndIconMatch()
64 const std::vector<favicon_base::FaviconRawBitmapResult>& bitmap_results) { in DoUrlsAndIconsMatch()
68 const favicon_base::IconType icon_type = favicon_url.icon_type; in DoUrlsAndIconsMatch()
90 bool IsExpired(const favicon_base::FaviconRawBitmapResult& bitmap_result) { in IsExpired()
95 bool IsValid(const favicon_base::FaviconRawBitmapResult& bitmap_result) { in IsValid()
[all …]
Dfavicon_handler_unittest.cc50 favicon_base::IconType icon_type, in SetFaviconRawBitmapResult()
52 std::vector<favicon_base::FaviconRawBitmapResult>* favicon_bitmap_results) { in SetFaviconRawBitmapResult()
55 favicon_base::FaviconRawBitmapResult bitmap_result; in SetFaviconRawBitmapResult()
68 std::vector<favicon_base::FaviconRawBitmapResult>* favicon_bitmap_results) { in SetFaviconRawBitmapResult()
70 favicon_base::FAVICON, in SetFaviconRawBitmapResult()
142 const favicon_base::FaviconResultsCallback& callback) in HistoryRequestHandler()
169 std::vector<favicon_base::FaviconRawBitmapResult> history_results_;
170 favicon_base::FaviconResultsCallback callback_;
299 favicon_base::IconType icon_type, in UpdateFaviconMappingAndFetch()
300 const favicon_base::FaviconResultsCallback& callback, in UpdateFaviconMappingAndFetch()
[all …]
Dfavicon_tab_helper.cc136 entry->GetURL(), favicon.url, favicon_base::FAVICON, favicon.image); in SaveFavicon()
229 favicon_base::IconType ToChromeIconType( in ToChromeIconType()
233 return favicon_base::FAVICON; in ToChromeIconType()
235 return favicon_base::TOUCH_ICON; in ToChromeIconType()
237 return favicon_base::TOUCH_PRECOMPOSED_ICON; in ToChromeIconType()
239 return favicon_base::INVALID_ICON; in ToChromeIconType()
242 return favicon_base::INVALID_ICON; in ToChromeIconType()
/external/chromium_org/chrome/browser/history/
Dthumbnail_database.h73 favicon_base::FaviconID icon_id,
78 bool GetFaviconBitmaps(favicon_base::FaviconID icon_id,
97 favicon_base::FaviconID icon_id,
122 bool SetFaviconOutOfDate(favicon_base::FaviconID icon_id);
131 favicon_base::FaviconID GetFaviconIDForFaviconURL(
134 favicon_base::IconType* icon_type);
137 bool GetFaviconHeader(favicon_base::FaviconID icon_id,
139 favicon_base::IconType* icon_type);
143 favicon_base::FaviconID AddFavicon(const GURL& icon_url,
144 favicon_base::IconType icon_type);
[all …]
Dthumbnail_database_unittest.cc102 favicon_base::IconType expected_icon_type, in CheckPageHasIcon()
205 favicon_base::FaviconID id = in TEST_F()
206 db.AddFavicon(url, favicon_base::TOUCH_ICON, favicon, time, gfx::Size()); in TEST_F()
223 favicon_base::FaviconID id = db.AddFavicon(url, favicon_base::TOUCH_ICON); in TEST_F()
233 favicon_base::FaviconID new_id = in TEST_F()
234 db.AddFavicon(url1, favicon_base::TOUCH_ICON); in TEST_F()
254 favicon_base::FaviconID id = db.AddFavicon(url, favicon_base::TOUCH_ICON); in TEST_F()
259 favicon_base::FaviconID id2 = db.AddFavicon(url, favicon_base::FAVICON); in TEST_F()
266 EXPECT_EQ(icon_mapping.front().icon_type, favicon_base::TOUCH_ICON); in TEST_F()
267 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, favicon_base::FAVICON, NULL)); in TEST_F()
[all …]
Dhistory_backend_unittest.cc302 favicon_base::IconType icon_type) { in NumIconMappingsForPageURL()
326 bool GetSortedFaviconBitmaps(favicon_base::FaviconID icon_id, in GetSortedFaviconBitmaps()
337 bool GetOnlyFaviconBitmap(const favicon_base::FaviconID icon_id, in GetOnlyFaviconBitmap()
489 favicon_base::FaviconID favicon2 = in TEST_F()
490 backend_->thumbnail_db_->AddFavicon(favicon_url2, favicon_base::FAVICON); in TEST_F()
491 favicon_base::FaviconID favicon1 = in TEST_F()
492 backend_->thumbnail_db_->AddFavicon(favicon_url1, favicon_base::FAVICON); in TEST_F()
569 favicon_base::FaviconID out_favicon1 = in TEST_F()
571 favicon_url1, favicon_base::FAVICON, NULL); in TEST_F()
595 favicon_base::FaviconID out_favicon2 = in TEST_F()
[all …]
Dexpire_history_backend_unittest.cc67 bool HasFavicon(favicon_base::FaviconID favicon_id);
70 favicon_base::FaviconID GetFavicon(const GURL& page_url,
71 favicon_base::IconType icon_type);
188 favicon_base::FaviconID favicon1 = in AddExampleData()
189 thumb_db_->AddFavicon(GURL("http://favicon/url1"), favicon_base::FAVICON); in AddExampleData()
190 favicon_base::FaviconID favicon2 = in AddExampleData()
191 thumb_db_->AddFavicon(GURL("http://favicon/url2"), favicon_base::FAVICON); in AddExampleData()
278 bool ExpireHistoryTest::HasFavicon(favicon_base::FaviconID favicon_id) { in HasFavicon()
284 favicon_base::FaviconID ExpireHistoryTest::GetFavicon( in GetFavicon()
286 favicon_base::IconType icon_type) { in GetFavicon()
[all …]
Dhistory_backend.h240 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
246 favicon_base::FaviconRawBitmapResult* bitmap_result);
252 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
255 favicon_base::FaviconID favicon_id,
257 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
264 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
268 favicon_base::IconType icon_type,
273 favicon_base::IconType icon_type,
693 std::vector<favicon_base::FaviconRawBitmapResult>* results);
703 bool SetFaviconBitmaps(favicon_base::FaviconID icon_id,
[all …]
Dthumbnail_database.cc97 static_cast<favicon_base::IconType>(statement.ColumnInt(2)); in FillIconMapping()
646 favicon_base::FaviconID icon_id, in GetFaviconBitmapIDSizes()
669 favicon_base::FaviconID icon_id, in GetFaviconBitmaps()
731 favicon_base::FaviconID icon_id, in AddFaviconBitmap()
792 bool ThumbnailDatabase::SetFaviconOutOfDate(favicon_base::FaviconID icon_id) { in SetFaviconOutOfDate()
801 favicon_base::FaviconID ThumbnailDatabase::GetFaviconIDForFaviconURL( in GetFaviconIDForFaviconURL()
804 favicon_base::IconType* icon_type) { in GetFaviconIDForFaviconURL()
815 *icon_type = static_cast<favicon_base::IconType>(statement.ColumnInt(1)); in GetFaviconIDForFaviconURL()
819 bool ThumbnailDatabase::GetFaviconHeader(favicon_base::FaviconID icon_id, in GetFaviconHeader()
821 favicon_base::IconType* icon_type) { in GetFaviconHeader()
[all …]
Dhistory_backend.cc1503 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFavicons()
1512 favicon_base::FaviconRawBitmapResult* favicon_bitmap_result) { in GetLargestFaviconForURL()
1533 std::map<favicon_base::IconType, FaviconBitmap> largest_favicon_bitmaps; in GetLargestFaviconForURL()
1560 for (std::map<favicon_base::IconType, FaviconBitmap>::const_iterator f = in GetLargestFaviconForURL()
1577 favicon_base::IconType icon_type; in GetLargestFaviconForURL()
1584 favicon_base::FaviconRawBitmapResult bitmap_result; in GetLargestFaviconForURL()
1607 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFaviconsForURL()
1613 favicon_base::FaviconID favicon_id, in GetFaviconForID()
1615 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFaviconForID()
1616 std::vector<favicon_base::FaviconID> favicon_ids; in GetFaviconForID()
[all …]
Dhistory_service.cc73 const favicon_base::FaviconResultsCallback& callback, in RunWithFaviconResults()
74 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in RunWithFaviconResults()
79 const favicon_base::FaviconRawBitmapCallback& callback, in RunWithFaviconResult()
80 favicon_base::FaviconRawBitmapResult* bitmap_result) { in RunWithFaviconResult()
506 const favicon_base::FaviconResultsCallback& callback, in GetFavicons()
510 std::vector<favicon_base::FaviconRawBitmapResult>* results = in GetFavicons()
511 new std::vector<favicon_base::FaviconRawBitmapResult>(); in GetFavicons()
528 const favicon_base::FaviconResultsCallback& callback, in GetFaviconsForURL()
532 std::vector<favicon_base::FaviconRawBitmapResult>* results = in GetFaviconsForURL()
533 new std::vector<favicon_base::FaviconRawBitmapResult>(); in GetFaviconsForURL()
[all …]
/external/chromium_org/components/
Dfavicon_base.gypi8 'target_name': 'favicon_base',
17 'favicon_base/favicon_callback.h',
18 'favicon_base/favicon_types.cc',
19 'favicon_base/favicon_types.h',
20 'favicon_base/favicon_util.cc',
21 'favicon_base/favicon_util.h',
22 'favicon_base/select_favicon_frames.cc',
23 'favicon_base/select_favicon_frames.h',
/external/chromium_org/chrome/browser/history/android/
Dfavicon_sql_handler.cc40 favicon_base::FaviconID favicon_id = thumbnail_db_->AddFavicon( in Update()
41 GURL(), favicon_base::FAVICON, row.favicon(), Time::Now(), gfx::Size()); in Update()
46 std::vector<favicon_base::FaviconID> favicon_ids; in Update()
52 i->url, favicon_base::FAVICON, &icon_mappings); in Update()
73 std::vector<favicon_base::FaviconID> favicon_ids; in Delete()
105 favicon_base::FaviconID id = thumbnail_db_->AddFavicon( in Insert()
106 GURL(), favicon_base::FAVICON, row->favicon(), Time::Now(), gfx::Size()); in Insert()
113 const std::vector<favicon_base::FaviconID>& ids) { in DeleteUnusedFavicon()
114 for (std::vector<favicon_base::FaviconID>::const_iterator i = ids.begin(); in DeleteUnusedFavicon()
Dsqlite_cursor.h150 bool GetFavicon(favicon_base::FaviconID id,
154 favicon_base::FaviconID id,
155 const favicon_base::FaviconRawBitmapCallback& callback);
158 void OnFaviconData(const favicon_base::FaviconRawBitmapResult& bitmap_result);
190 favicon_base::FaviconRawBitmapResult favicon_bitmap_result_;
/external/chromium_org/chrome/browser/ui/webui/
Dfavicon_source.cc49 icon_types_(type == FAVICON ? favicon_base::FAVICON in FaviconSource()
50 : favicon_base::TOUCH_PRECOMPOSED_ICON | in FaviconSource()
51 favicon_base::TOUCH_ICON | in FaviconSource()
52 favicon_base::FAVICON) {} in FaviconSource()
58 return icon_types_ == favicon_base::FAVICON ? chrome::kChromeUIFaviconHost in GetSource()
90 favicon_base::FAVICON, in StartDataRequest()
163 const favicon_base::FaviconRawBitmapResult& bitmap_result) { in OnFaviconDataAvailable()
/external/chromium_org/chrome/common/favicon/
Dfavicon_url_parser_unittest.cc38 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
52 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
100 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
114 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
128 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
150 int icon_types = favicon_base::TOUCH_PRECOMPOSED_ICON; in TEST_F()
/external/chromium_org/chrome/browser/bookmarks/
Dchrome_bookmark_client.cc31 const favicon_base::FaviconImageCallback& callback, in RunCallbackWithImage()
32 const favicon_base::FaviconRawBitmapResult& bitmap_result) { in RunCallbackWithImage()
33 favicon_base::FaviconImageResult result; in RunCallbackWithImage()
102 favicon_base::IconType type, in GetFaviconImageForPageURL()
103 const favicon_base::FaviconImageCallback& callback, in GetFaviconImageForPageURL()
109 if (type == favicon_base::FAVICON) { in GetFaviconImageForPageURL()
/external/chromium_org/components/favicon/core/
Dfavicon_url.cc9 FaviconURL::FaviconURL() : icon_type(favicon_base::INVALID_ICON) { in FaviconURL()
13 favicon_base::IconType type, in FaviconURL()
Dfavicon_url.h20 favicon_base::IconType type,
28 favicon_base::IconType icon_type;
/external/chromium_org/components/favicon_base/
Dfavicon_util.h16 namespace favicon_base {
35 const std::vector<favicon_base::FaviconRawBitmapResult>& png_data,
/external/chromium_org/components/bookmarks/browser/
Dbookmark_client.cc17 favicon_base::IconType type, in GetFaviconImageForPageURL()
18 const favicon_base::FaviconImageCallback& callback, in GetFaviconImageForPageURL()
/external/chromium_org/chrome/browser/ui/android/
Dnavigation_popup.h16 namespace favicon_base {
31 const favicon_base::FaviconImageResult& image_result);

12345