/external/chromium_org/android_webview/browser/ |
D | icon_helper.cc | 65 if (!i->icon_url.is_valid()) in DidUpdateFaviconURL() 70 if ((listener_ && !listener_->ShouldDownloadFavicon(i->icon_url)) || in DidUpdateFaviconURL() 71 WasUnableToDownloadFavicon(i->icon_url)) { in DidUpdateFaviconURL() 74 web_contents()->DownloadImage(i->icon_url, in DidUpdateFaviconURL() 82 listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), false); in DidUpdateFaviconURL() 86 listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), true); in DidUpdateFaviconURL() 105 void IconHelper::MarkUnableToDownloadFavicon(const GURL& icon_url) { in MarkUnableToDownloadFavicon() argument 106 MissingFaviconURLHash url_hash = base::Hash(icon_url.spec()); in MarkUnableToDownloadFavicon() 110 bool IconHelper::WasUnableToDownloadFavicon(const GURL& icon_url) const { in WasUnableToDownloadFavicon() 111 MissingFaviconURLHash url_hash = base::Hash(icon_url.spec()); in WasUnableToDownloadFavicon()
|
D | icon_helper.h | 30 virtual bool ShouldDownloadFavicon(const GURL& icon_url) = 0; 31 virtual void OnReceivedIcon(const GURL& icon_url, 59 void MarkUnableToDownloadFavicon(const GURL& icon_url); 60 bool WasUnableToDownloadFavicon(const GURL& icon_url) const;
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_handler_unittest.cc | 49 const GURL& icon_url, in SetFaviconRawBitmapResult() argument 61 bitmap_result.icon_url = icon_url; in SetFaviconRawBitmapResult() 67 const GURL& icon_url, in SetFaviconRawBitmapResult() argument 69 SetFaviconRawBitmapResult(icon_url, in SetFaviconRawBitmapResult() 140 const GURL& icon_url, in HistoryRequestHandler() argument 144 icon_url_(icon_url), in HistoryRequestHandler() 150 const GURL& icon_url, in HistoryRequestHandler() argument 155 icon_url_(icon_url), in HistoryRequestHandler() 298 const GURL& icon_url, in UpdateFaviconMappingAndFetch() argument 302 history_handler_.reset(new HistoryRequestHandler(page_url, icon_url, in UpdateFaviconMappingAndFetch() [all …]
|
D | favicon_handler.cc | 56 return favicon_url.icon_url == url && favicon_url.icon_type == icon_type; in DoUrlAndIconMatch() 71 if (favicon_url.icon_url != bitmap_results[i].icon_url || in DoUrlsAndIconsMatch() 302 const GURL& icon_url, in SetFavicon() argument 306 SetHistoryFavicons(url, icon_url, icon_type, image); in SetFavicon() 310 SetFaviconOnActivePage(icon_url, image); in SetFavicon() 322 const GURL icon_url = favicon_bitmap_results.empty() ? in SetFaviconOnActivePage() local 323 GURL() : favicon_bitmap_results[0].icon_url; in SetFaviconOnActivePage() 324 SetFaviconOnActivePage(icon_url, resized_image); in SetFaviconOnActivePage() 327 void FaviconHandler::SetFaviconOnActivePage(const GURL& icon_url, in SetFaviconOnActivePage() argument 332 bool icon_url_changed = driver_->GetActiveFaviconURL() != icon_url; in SetFaviconOnActivePage() [all …]
|
D | favicon_service.cc | 96 const GURL& icon_url, in GetFaviconImage() argument 104 icon_urls.push_back(icon_url); in GetFaviconImage() 116 const GURL& icon_url, in GetRawFavicon() argument 129 icon_urls.push_back(icon_url); in GetRawFavicon() 140 const GURL& icon_url, in GetFavicon() argument 147 icon_urls.push_back(icon_url); in GetFavicon() 294 const GURL& icon_url, in MergeFavicon() argument 299 history_service_->MergeFavicon(page_url, icon_url, icon_type, bitmap_data, in MergeFavicon() 305 const GURL& icon_url, in SetFavicons() argument 325 history_service_->SetFavicons(page_url, icon_type, icon_url, bitmaps); in SetFavicons() [all …]
|
D | favicon_service.h | 52 const GURL& icon_url, 62 const GURL& icon_url, 76 const GURL& icon_url, 188 const GURL& icon_url, 204 const GURL& icon_url, 209 void UnableToDownloadFavicon(const GURL& icon_url); 210 bool WasUnableToDownloadFavicon(const GURL& icon_url) const;
|
D | favicon_handler.h | 126 const GURL& icon_url, 132 const GURL& icon_url, 144 const GURL& icon_url, 199 const GURL& icon_url, 221 const GURL& icon_url, 228 void SetFaviconOnActivePage(const GURL& icon_url, const gfx::Image& image);
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | favicon_cache.cc | 175 DCHECK_EQ(favicon_info->favicon_url, bitmap_result.icon_url); in UpdateFaviconFromBitmapResult() 177 DVLOG(1) << "Received invalid favicon at " << bitmap_result.icon_url.spec(); in UpdateFaviconFromBitmapResult() 199 DVLOG(2) << "Ignoring local update for " << bitmap_result.icon_url.spec(); in UpdateFaviconFromBitmapResult() 515 const GURL& icon_url, in OnReceivedSyncFavicon() argument 518 if (!icon_url.is_valid() || !page_url.is_valid() || icon_url.SchemeIs("data")) in OnReceivedSyncFavicon() 521 << icon_url.spec(); in OnReceivedSyncFavicon() 522 page_favicon_map_[page_url] = icon_url; in OnReceivedSyncFavicon() 536 icon_url, in OnReceivedSyncFavicon() 542 const GURL& icon_url, in OnReceivedSyncFaviconImpl() argument 546 if (synced_favicons_.find(icon_url) != synced_favicons_.end()) in OnReceivedSyncFaviconImpl() [all …]
|
D | favicon_cache.h | 96 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);
|
D | favicon_cache_unittest.cc | 112 GURL icon_url; member 123 data.icon_url = GURL(base::StringPrintf("http://bla.com/%.2i.ico", index)); in BuildFaviconData() 135 image_specifics->set_favicon_url(test_data.icon_url.spec()); in FillImageSpecifics() 157 tracking_specifics->set_favicon_url(test_data.icon_url.spec()); in FillTrackingSpecifics() 167 if (image_specifics.favicon_url() != test_data.icon_url.spec()) in CompareFaviconDataToSpecifics() 199 if (tracking_specifics.favicon_url() != test_data.icon_url.spec()) in CompareFaviconDataToSpecifics() 226 data.icon_url.spec()) in VerifyChanges() 291 const GURL& icon_url, 374 if (image_data_list[j].GetTitle() != test_data.icon_url.spec()) in VerifyLocalCustomIcons() 417 bitmap_result.icon_url = test_data.icon_url; in OnCustomFaviconDataAvailable() [all …]
|
/external/chromium_org/chrome/browser/notifications/ |
D | notification.cc | 8 const GURL& icon_url, in Notification() argument 25 icon_url_(icon_url), in Notification() 60 icon_url_(notification.icon_url()), in Notification() 72 icon_url_ = notification.icon_url(); in operator =()
|
D | notification.h | 33 const GURL& icon_url, 62 const GURL& icon_url() const { return icon_url_; } in icon_url() function
|
/external/chromium_org/chrome/browser/apps/drive/ |
D | drive_app_converter.cc | 38 const GURL& icon_url, in IconFetcher() argument 41 icon_url_(icon_url), in IconFetcher() 56 const GURL& icon_url() const { return icon_url_; } in icon_url() function in DriveAppConverter::IconFetcher 142 const GURL& icon_url = drive_app_info_.app_icons[i].second; in Start() local 143 IconFetcher* fetcher = new IconFetcher(this, icon_url, icon_size); in Start() 165 icon_info.url = fetcher->icon_url(); in OnIconFetchComplete()
|
/external/chromium_org/chrome/browser/history/ |
D | history_backend_unittest.cc | 66 return a.icon_url < b.icon_url; in IconMappingLessThan() 1070 EXPECT_EQ(favicon_url1, mappings[0].icon_url); in TEST_F() 1076 EXPECT_EQ(favicon.favicon_url, mappings[0].icon_url); in TEST_F() 1592 const GURL icon_url("http://www.google.com/icon"); in TEST_F() local 1598 backend_->SetFavicons(url, favicon_base::FAVICON, icon_url, bitmaps); in TEST_F() 1606 backend_->SetFavicons(url, favicon_base::FAVICON, icon_url, bitmaps); in TEST_F() 1623 const GURL icon_url("http://www.google.com/icon"); in TEST_F() local 1628 backend_->SetFavicons(page_url, favicon_base::FAVICON, icon_url, bitmaps); in TEST_F() 1634 EXPECT_EQ(icon_url, icon_mappings[0].icon_url); in TEST_F() 1654 backend_->SetFavicons(page_url, favicon_base::FAVICON, icon_url, bitmaps); in TEST_F() [all …]
|
D | thumbnail_database.h | 132 const GURL& icon_url, 138 GURL* icon_url, 143 favicon_base::FaviconID AddFavicon(const GURL& icon_url, 149 const GURL& icon_url,
|
/external/chromium_org/components/search_engines/ |
D | default_search_pref_test_util.h | 25 const std::string& icon_url, 40 const std::string& icon_url, in SetManagedPref() argument 47 enabled, name, keyword, search_url, suggest_url, icon_url, in SetManagedPref()
|
/external/chromium_org/components/favicon_base/ |
D | favicon_types.h | 43 GURL icon_url; member 65 GURL icon_url; member
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | kiosk_autolaunch_screen_handler.cc | 82 std::string icon_url("chrome://theme/IDR_APP_DEFAULT_ICON"); in UpdateKioskApp() local 84 icon_url = webui::GetBitmapDataUrl(*app.icon.bitmap()); in UpdateKioskApp() 86 app_info.SetString("appIconUrl", icon_url); in UpdateKioskApp()
|
D | kiosk_app_menu_handler.cc | 105 std::string icon_url("chrome://theme/IDR_APP_DEFAULT_ICON"); in SendKioskApps() local 107 icon_url = webui::GetBitmapDataUrl(*app_data.icon.bitmap()); in SendKioskApps() 108 app_info->SetString("iconUrl", icon_url); in SendKioskApps()
|
/external/chromium_org/chrome/browser/search_engines/ |
D | template_url_service_factory_test_util.cc | 39 const std::string& icon_url, in SetManagedDefaultSearchPreferences() argument 45 enabled, name, keyword, search_url, suggest_url, icon_url, encodings, in SetManagedDefaultSearchPreferences()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_node.h | 65 const GURL& icon_url() const { return icon_url_; } in icon_url() function 127 void set_icon_url(const GURL& icon_url) { in set_icon_url() argument 128 icon_url_ = icon_url; in set_icon_url()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | bookmarks_helper.cc | 194 icon_url(favicon_url) { in FaviconData() 201 GURL icon_url; member 222 return FaviconData(model->GetFavicon(node), node->icon_url()); in GetFaviconData() 229 const GURL& icon_url, in SetFaviconImpl() argument 240 node->url(), icon_url, favicon_base::FAVICON, image); in SetFaviconImpl() 243 node, profile, icon_url, image.As1xPNGBytes()); in SetFaviconImpl() 295 if (favicon_data_a.icon_url != favicon_data_b.icon_url) in FaviconsMatch() 541 const GURL& icon_url, in SetFavicon() argument 558 icon_url, in SetFavicon() 564 icon_url, in SetFavicon()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | manage_profile_handler.cc | 336 std::string icon_url; in SetProfileIconAndName() local 337 if (!args->GetString(1, &icon_url)) in SetProfileIconAndName() 348 if (icon_url == gaia_picture_url_) { in SetProfileIconAndName() 357 } else if (profiles::IsDefaultAvatarIconUrl(icon_url, &new_icon_index)) { in SetProfileIconAndName() 410 std::string icon_url; in ProfileIconSelectionChanged() local 411 if (!args->GetString(1, &icon_url)) in ProfileIconSelectionChanged() 414 if (icon_url != gaia_picture_url_) in ProfileIconSelectionChanged()
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
D | webstore_provider.cc | 164 GURL icon_url(icon_url_string); in CreateResult() local 165 if (!icon_url.is_valid()) in CreateResult() 175 icon_url, in CreateResult()
|
/external/chromium_org/chrome/browser/extensions/api/webstore_private/ |
D | webstore_private_api.cc | 237 if (params_->details.icon_data && params_->details.icon_url) { in RunAsync() 243 GURL icon_url; in RunAsync() local 244 if (params_->details.icon_url) { in RunAsync() 246 icon_url = source_url().Resolve(*params_->details.icon_url); in RunAsync() 247 if (!icon_url.is_valid()) { in RunAsync() 274 if (!icon_url.is_empty()) in RunAsync() 278 this, params_->details.id, params_->details.manifest, icon_data, icon_url, in RunAsync()
|