Home
last modified time | relevance | path

Searched refs:icon_url (Results 1 – 25 of 141) sorted by relevance

123456

/external/chromium/chrome/browser/
Dfavicon_helper_unittest.cc86 const GURL& icon_url, in HistoryRequestHandler() argument
90 icon_url_(icon_url), in HistoryRequestHandler()
96 const GURL& icon_url, in HistoryRequestHandler() argument
101 icon_url_(icon_url), in HistoryRequestHandler()
187 const GURL& icon_url, in UpdateFaviconMappingAndFetch() argument
191 history_handler_.reset(new HistoryRequestHandler(page_url, icon_url, in UpdateFaviconMappingAndFetch()
196 const GURL& icon_url, in GetFavicon() argument
200 history_handler_.reset(new HistoryRequestHandler(GURL(), icon_url, in GetFavicon()
221 const GURL& icon_url, in SetHistoryFavicon() argument
224 history_handler_.reset(new HistoryRequestHandler(page_url, icon_url, in SetHistoryFavicon()
[all …]
Dfavicon_helper.cc46 return favicon_url.icon_url == url && in DoUrlAndIconMatch()
170 if (!i->icon_url.is_empty() && (i->icon_type & icon_types_)) { in OnUpdateFaviconURL()
196 entry->favicon().set_url(current_candidate()->icon_url); in OnUpdateFaviconURL()
201 history_icon_.icon_url, history_icon_.icon_type)) { in OnUpdateFaviconURL()
206 DownloadFaviconOrAskHistory(entry->url(), current_candidate()->icon_url, in OnUpdateFaviconURL()
228 const GURL& icon_url, in UpdateFaviconMappingAndFetch() argument
232 GetFaviconService()->UpdateFaviconMappingAndFetch(page_url, icon_url, in UpdateFaviconMappingAndFetch()
237 const GURL& icon_url, in GetFavicon() argument
241 GetFaviconService()->GetFavicon(icon_url, icon_type, consumer, callback); in GetFavicon()
255 const GURL& icon_url, in SetHistoryFavicon() argument
[all …]
Dfavicon_service.cc17 const GURL& icon_url, in GetFavicon() argument
25 hs->GetFavicon(request, icon_url, icon_type); in GetFavicon()
33 const GURL& icon_url, in UpdateFaviconMappingAndFetch() argument
41 hs->UpdateFaviconMappingAndFetch(request, page_url, icon_url, icon_type); in UpdateFaviconMappingAndFetch()
83 const GURL& icon_url, in SetFavicon() argument
88 hs->SetFavicon(page_url, icon_url, image_data, icon_type); in SetFavicon()
Dfavicon_helper.h115 const GURL& icon_url,
121 const GURL& icon_url,
133 const GURL& icon_url,
175 const GURL& icon_url,
193 const GURL& icon_url,
Dfavicon_service.h49 Handle GetFavicon(const GURL& icon_url,
60 const GURL& icon_url,
89 const GURL& icon_url,
/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler_unittest.cc51 const GURL& icon_url, in SetFaviconBitmapResult() argument
63 bitmap_result.icon_url = icon_url; in SetFaviconBitmapResult()
69 const GURL& icon_url, in SetFaviconBitmapResult() argument
71 SetFaviconBitmapResult(icon_url, chrome::FAVICON, false /* expired */, in SetFaviconBitmapResult()
135 const GURL& icon_url, in HistoryRequestHandler() argument
139 icon_url_(icon_url), in HistoryRequestHandler()
145 const GURL& icon_url, in HistoryRequestHandler() argument
149 icon_url_(icon_url), in HistoryRequestHandler()
258 const GURL& icon_url, in UpdateFaviconMappingAndFetch() argument
262 history_handler_.reset(new HistoryRequestHandler(page_url, icon_url, in UpdateFaviconMappingAndFetch()
[all …]
Dfavicon_handler.cc76 return favicon_url.icon_url == url && in DoUrlAndIconMatch()
92 if (favicon_url.icon_url != bitmap_results[i].icon_url || in DoUrlsAndIconsMatch()
288 const GURL& icon_url, in SetFavicon() argument
292 SetHistoryFavicons(url, icon_url, icon_type, image); in SetFavicon()
297 UpdateFavicon(entry, icon_url, image); in SetFavicon()
309 const GURL icon_url = favicon_bitmap_results.empty() ? in UpdateFavicon() local
310 GURL() : favicon_bitmap_results[0].icon_url; in UpdateFavicon()
311 UpdateFavicon(entry, icon_url, resized_image); in UpdateFavicon()
315 const GURL& icon_url, in UpdateFavicon() argument
320 bool icon_url_changed = (entry->GetFavicon().url != icon_url); in UpdateFavicon()
[all …]
Dfavicon_service.cc80 const GURL& icon_url, in GetFaviconImage() argument
90 icon_urls.push_back(icon_url); in GetFaviconImage()
100 const GURL& icon_url, in GetRawFavicon() argument
113 icon_urls.push_back(icon_url); in GetRawFavicon()
126 const GURL& icon_url, in GetFavicon() argument
133 icon_urls.push_back(icon_url); in GetFavicon()
264 const GURL& icon_url, in MergeFavicon() argument
269 history_service_->MergeFavicon(page_url, icon_url, icon_type, bitmap_data, in MergeFavicon()
275 const GURL& icon_url, in SetFavicons() argument
296 bitmap_data_element.icon_url = icon_url; in SetFavicons()
[all …]
Dfavicon_service.h99 const GURL& icon_url,
106 const GURL& icon_url,
114 const GURL& icon_url,
215 const GURL& icon_url,
231 const GURL& icon_url,
236 void UnableToDownloadFavicon(const GURL& icon_url);
237 bool WasUnableToDownloadFavicon(const GURL& icon_url) const;
Dfavicon_handler.h133 const GURL& icon_url,
139 const GURL& icon_url,
151 const GURL& icon_url,
206 const GURL& icon_url,
228 const GURL& icon_url,
237 const GURL& icon_url,
/external/chromium_org/android_webview/browser/
Dicon_helper.cc58 if (!i->icon_url.is_valid()) in DidUpdateFaviconURL()
63 if (listener_ && !listener_->ShouldDownloadFavicon(i->icon_url)) break; in DidUpdateFaviconURL()
64 web_contents()->DownloadImage(i->icon_url, in DidUpdateFaviconURL()
72 listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), false); in DidUpdateFaviconURL()
76 listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), true); in DidUpdateFaviconURL()
Dicon_helper.h29 virtual bool ShouldDownloadFavicon(const GURL& icon_url) = 0;
30 virtual void OnReceivedIcon(const GURL& icon_url,
/external/chromium_org/chrome/browser/sync/glue/
Dfavicon_cache.cc177 DCHECK_EQ(favicon_info->favicon_url, bitmap_result.icon_url); in UpdateFaviconFromBitmapResult()
179 DVLOG(1) << "Received invalid favicon at " << bitmap_result.icon_url.spec(); in UpdateFaviconFromBitmapResult()
201 DVLOG(2) << "Ignoring local update for " << bitmap_result.icon_url.spec(); in UpdateFaviconFromBitmapResult()
536 const GURL& icon_url, in OnReceivedSyncFavicon() argument
539 if (!icon_url.is_valid() || !page_url.is_valid() || icon_url.SchemeIs("data")) in OnReceivedSyncFavicon()
542 << icon_url.spec(); in OnReceivedSyncFavicon()
543 page_favicon_map_[page_url] = icon_url; in OnReceivedSyncFavicon()
557 icon_url, in OnReceivedSyncFavicon()
563 const GURL& icon_url, in OnReceivedSyncFaviconImpl() argument
567 if (synced_favicons_.find(icon_url) != synced_favicons_.end()) in OnReceivedSyncFaviconImpl()
[all …]
Dfavicon_cache.h96 const GURL& icon_url,
126 void OnReceivedSyncFaviconImpl(const GURL& icon_url,
141 void UpdateSyncState(const GURL& icon_url,
148 SyncedFaviconInfo* GetFaviconInfo(const GURL& icon_url);
152 void UpdateFaviconVisitTime(const GURL& icon_url, base::Time time);
Dfavicon_cache_unittest.cc148 GURL icon_url; member
159 data.icon_url = GURL(base::StringPrintf("http://bla.com/%.2i.ico", index)); in BuildFaviconData()
171 image_specifics->set_favicon_url(test_data.icon_url.spec()); in FillImageSpecifics()
193 tracking_specifics->set_favicon_url(test_data.icon_url.spec()); in FillTrackingSpecifics()
203 if (image_specifics.favicon_url() != test_data.icon_url.spec()) in CompareFaviconDataToSpecifics()
235 if (tracking_specifics.favicon_url() != test_data.icon_url.spec()) in CompareFaviconDataToSpecifics()
261 if (change_list[i].sync_data().GetTag() != data.icon_url.spec()) in VerifyChanges()
308 const GURL& icon_url,
392 if (image_data_list[j].GetTitle() != test_data.icon_url.spec()) in VerifyLocalCustomIcons()
435 bitmap_result.icon_url = test_data.icon_url; in OnCustomFaviconDataAvailable()
[all …]
/external/chromium_org/chrome/browser/history/
Dhistory_backend_unittest.cc62 return a.icon_url < b.icon_url; in IconMappingLessThan()
332 bitmap_data_element.icon_url = icon_url1; in GenerateFaviconBitmapData()
345 bitmap_data_element.icon_url = icon_url2; in GenerateFaviconBitmapData()
846 EXPECT_EQ(favicon_url1, mappings[0].icon_url); in TEST_F()
852 EXPECT_EQ(favicon.favicon_url, mappings[0].icon_url); in TEST_F()
1329 const GURL icon_url("http://www.google.com/icon"); in TEST_F() local
1332 GenerateFaviconBitmapData(icon_url, GetSizesSmallAndLarge(), in TEST_F()
1360 const GURL icon_url("http://www.google.com/icon"); in TEST_F() local
1363 GenerateFaviconBitmapData(icon_url, GetSizesSmallAndLarge(), in TEST_F()
1371 EXPECT_EQ(icon_url, icon_mappings[0].icon_url); in TEST_F()
[all …]
Dthumbnail_database.h129 chrome::FaviconID GetFaviconIDForFaviconURL(const GURL& icon_url,
135 GURL* icon_url,
140 chrome::FaviconID AddFavicon(const GURL& icon_url,
146 const GURL& icon_url,
/external/chromium_org/chrome/browser/notifications/
Dnotification.cc33 const GURL& icon_url, in Notification() argument
50 icon_url_(icon_url), in Notification()
56 icon_url, title, body, dir)); in Notification()
121 icon_url_(notification.icon_url()), in Notification()
135 icon_url_ = notification.icon_url(); in operator =()
Ddesktop_notification_service.cc214 const GURL& icon_url, in CreateDataUrl() argument
220 if (icon_url.is_valid()) { in CreateDataUrl()
222 subst.push_back(icon_url.spec()); in CreateDataUrl()
270 const GURL& icon_url, in AddNotification() argument
276 Notification notification(origin_url, icon_url, title, message, in AddNotification()
285 icon_url, title, message, blink::WebTextDirectionDefault)); in AddNotification()
310 GURL icon_url; in AddIconNotification() local
312 icon_url = GURL(webui::GetBitmapDataUrl(*icon.ToSkBitmap())); in AddIconNotification()
314 origin_url, title, message, icon_url, replace_id, delegate, profile); in AddIconNotification()
496 Notification notification(origin, params.icon_url, params.title, in ShowDesktopNotification()
/external/chromium_org/chrome/common/favicon/
Dfavicon_types.h44 GURL icon_url; member
66 GURL icon_url; member
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dkiosk_autolaunch_screen_handler.cc84 std::string icon_url("chrome://theme/IDR_APP_DEFAULT_ICON"); in UpdateKioskApp() local
86 icon_url = webui::GetBitmapDataUrl(*app.icon.bitmap()); in UpdateKioskApp()
88 app_info.SetString("appIconUrl", icon_url); in UpdateKioskApp()
Dkiosk_app_menu_handler.cc70 std::string icon_url("chrome://theme/IDR_APP_DEFAULT_ICON"); in SendKioskApps() local
72 icon_url = webui::GetBitmapDataUrl(*app_data.icon.bitmap()); in SendKioskApps()
73 app_info->SetString("iconUrl", icon_url); in SendKioskApps()
/external/chromium_org/chrome/browser/ui/webui/options/
Dmanage_profile_handler.cc283 std::string icon_url; in SetProfileIconAndName() local
284 if (!args->GetString(1, &icon_url)) in SetProfileIconAndName()
292 if (icon_url == gaia_picture_url_) { in SetProfileIconAndName()
300 } else if (cache.IsDefaultAvatarIconUrl(icon_url, &new_icon_index)) { in SetProfileIconAndName()
353 std::string icon_url; in ProfileIconSelectionChanged() local
354 if (!args->GetString(1, &icon_url)) in ProfileIconSelectionChanged()
357 if (icon_url != gaia_picture_url_) in ProfileIconSelectionChanged()
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/
Dwebstore_provider.cc151 GURL icon_url(icon_url_string); in CreateResult() local
152 if (!icon_url.is_valid()) in CreateResult()
156 profile_, app_id, localized_name, icon_url, controller_)); in CreateResult()
/external/chromium/chrome/browser/history/
Dthumbnail_database.h115 FaviconID GetFaviconIDForFaviconURL(const GURL& icon_url,
124 GURL* icon_url);
127 FaviconID AddFavicon(const GURL& icon_url, IconType icon_type);

123456