Searched defs:favicon (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/ui/views/tabs/
H A Dtab_renderer_data.h41 SkBitmap favicon; member in struct:TabRendererData
/external/chromium/chrome/browser/ui/webui/
H A Dfavicon_source.cc67 history::FaviconData favicon) {
73 if (favicon.is_valid()) {
75 SendResponse(request_id, favicon.image_data);
65 OnFaviconDataAvailable( FaviconService::Handle request_handle, history::FaviconData favicon) argument
H A Dchrome_web_ui_factory.cc282 // All extensions but the bookmark manager get their favicon from the icons
288 history::FaviconData favicon; local
289 favicon.image_data = scoped_refptr<RefCountedMemory>(
291 favicon.known_icon = favicon.image_data.get() != NULL &&
292 favicon.image_data->size() > 0;
295 favicon));
H A Dextension_icon_source.cc210 history::FaviconData favicon) {
215 // Fallback to the default icon if there wasn't a favicon.
216 if (!favicon.is_valid()) {
225 SendResponse(request_id, favicon.image_data);
227 FinalizeImage(ToBitmap(favicon.image_data->front(),
228 favicon.image_data->size()), request_id);
208 OnFaviconDataAvailable( FaviconService::Handle request_handle, history::FaviconData favicon) argument
/external/chromium/chrome/browser/importer/
H A Dfirefox_importer_unittest.cc106 GURL url, favicon; local
113 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
124 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
134 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
145 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
159 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
170 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
H A Dfirefox2_importer.cc66 // will also import favicons and we store favicon for a URL only if the URL
118 GURL url, favicon; local
123 &favicon, &shortcut, &add_date,
188 GURL url, favicon; local
195 &url, &favicon, &shortcut, &add_date,
229 // Save the favicon. DataURLToFaviconUsage will handle the case where
230 // there is no favicon.
232 DataURLToFaviconUsage(url, favicon, favicons);
469 GURL* favicon,
475 *favicon
465 ParseBookmarkFromLine(const std::string& line, const std::string& charset, string16* title, GURL* url, GURL* favicon, string16* shortcut, base::Time* add_date, string16* post_data) argument
[all...]
H A Dfirefox3_importer.cc51 int64 favicon; member in struct:Firefox3Importer::BookmarkItem
82 // will also import favicons and we store favicon for a URL only if the URL
277 if (item->favicon)
278 favicon_map[item->favicon].insert(item->url);
499 item->favicon = 0;
536 item->favicon = s.ColumnInt64(6);
/external/chromium/chrome/browser/
H A Dshell_integration.h64 SkBitmap favicon; member in struct:ShellIntegration::ShortcutInfo
H A Djumplist_win.h60 void SetIcon(const std::wstring& icon, int index, bool favicon) { argument
63 favicon_ = favicon;
145 // Starts loading a favicon for each URL in |icon_urls_|.
152 // that retrieves a favicon for each URL in the list.
156 // A callback function for HistoryService that notify when a requested favicon
163 history::FaviconData favicon);
H A Dpossible_url_model.cc29 // The default favicon.
43 // favicon_map_ to lookup the favicon for the url, as well as the index
44 // into results_ when the favicon is received.
157 // We already requested the favicon, return it.
170 // favicon again.
187 history::FaviconData favicon) {
192 if (favicon.is_valid()) {
194 gfx::PNGCodec::Decode(favicon.image_data->front(),
195 favicon.image_data->size(),
185 OnFaviconAvailable( FaviconService::Handle h, history::FaviconData favicon) argument
H A Dcustom_home_pages_table_model.cc41 // If non-zero, indicates we're loading the favicon for the page.
193 history::FaviconData favicon) {
202 if (favicon.is_valid()) {
205 if (gfx::PNGCodec::Decode(favicon.image_data->front(),
206 favicon.image_data->size(),
191 OnGotFavicon( FaviconService::Handle handle, history::FaviconData favicon) argument
H A Dfavicon_helper.cc97 // Request the favicon from the history service. In parallel to this the
98 // renderer is going to notify us (well TabContents) when the favicon url is
150 // No matter what happens, we need to mark the favicon as being set.
151 entry->favicon().set_is_valid(true);
156 entry->favicon().set_bitmap(image);
191 if (!favicon_expired_ && entry->favicon().is_valid() &&
192 DoUrlAndIconMatch(*current_candidate(), entry->favicon().url(),
196 entry->favicon().set_url(current_candidate()->icon_url);
265 // Otherwise store the favicon if the page is bookmarked.
311 history::FaviconData favicon) {
309 OnFaviconDataForInitialURL( FaviconService::Handle handle, history::FaviconData favicon) argument
386 OnFaviconData(FaviconService::Handle handle, history::FaviconData favicon) argument
[all...]
H A Djumplist_win.cc256 // Create an icon file from the favicon attached to the given |page|, and
685 // Ask FaviconService if it has a favicon of a URL.
750 // Send a query that retrieves the first favicon.
756 history::FaviconData favicon) {
759 if (favicon.is_valid()) {
761 icon_urls_.front().second->SetIconData(favicon.image_data);
754 OnFaviconDataAvailable( FaviconService::Handle handle, history::FaviconData favicon) argument
/external/chromium/chrome/browser/ui/views/
H A Dtab_icon_view.cc37 // favicon.
110 // For source images smaller than the favicon square, scale them as if they
111 // were padded to fit the favicon square, so we don't blow up tiny favicons
142 SkBitmap favicon = model_->GetFaviconForTabIconView(); local
143 if (!favicon.isNull()) {
145 PaintFavicon(canvas, favicon);
/external/chromium/chrome/browser/sync/glue/
H A Dbookmark_change_processor.cc64 const SkBitmap& favicon = model->GetFavicon(src); local
68 // Check for zero-dimension images. This can happen if the favicon is
70 if (favicon.empty())
73 // Re-encode the BookmarkNode's favicon as a PNG, and pass the data to the
75 if (!gfx::PNGCodec::EncodeBGRASkBitmap(favicon, false, dst))
507 // Sets the favicon of the given bookmark node from the given sync node.
524 // Applies the given favicon bytes vector to the given bookmark node.
529 // Registering a favicon requires that we provide a source URL, but we
531 // destination URL, which is not correct, but since the favicon URL
/external/chromium/chrome/browser/ui/gtk/
H A Dhung_renderer_dialog_gtk.cc157 SkBitmap favicon = it->tab_contents()->GetFavicon(); local
160 if (favicon.width() > 0)
161 pixbuf = gfx::GdkPixbufFromSkBitmap(&favicon);
/external/chromium/chrome/browser/ui/search_engines/
H A Dtemplate_url_table_model.cc32 // Icon used while loading, or if a specific favicon can't be found.
68 // State of the favicon.
84 // The favicon url isn't always set. Guess at one here.
101 history::FaviconData favicon) {
103 if (favicon.is_valid() && gfx::PNGCodec::Decode(favicon.image_data->front(),
104 favicon.image_data->size(),
99 OnFaviconDataAvailable( FaviconService::Handle handle, history::FaviconData favicon) argument
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_model.h42 // BookmarkNode contains information about a starred entry: title, URL, favicon,
99 // Returns the favicon. In nearly all cases you should use the method
101 // takes care of loading the favicon if it isn't already loaded, where as
103 const SkBitmap& favicon() const { return favicon_; } function in class:BookmarkNode
119 // Called when the favicon becomes invalid.
136 // Whether the favicon has been loaded.
139 // The favicon.
142 // If non-zero, it indicates we're loading the favicon and this is the handle
227 // Returns the favicon for |node|. If the favicon ha
[all...]
H A Dbookmark_html_writer.cc351 // Map that stores favicon per URL.
437 // Filter out urls that we've already got favicon for.
455 history::FaviconData favicon) {
461 if (favicon.is_valid() && !url.is_empty()) {
462 favicons_map_->insert(make_pair(url.spec(), favicon.image_data));
453 OnFaviconDataAvailable( FaviconService::Handle handle, history::FaviconData favicon) argument
H A Dbookmark_model.cc155 // Listen for changes to favicons so that we can update the favicon of the
251 return node->favicon();
739 history::FaviconData favicon) {
746 if (favicon.is_valid() && gfx::PNGCodec::Decode(favicon.image_data->front(),
747 favicon.image_data->size(),
785 // Prevent the observers from getting confused for multiple favicon loads.
792 // Got an updated favicon, for a URL, do a new request.
737 OnFaviconDataAvailable( FaviconService::Handle handle, history::FaviconData favicon) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_web_ui.cc57 // Helper class that is used to track the loading of the favicon of an
93 NOTREACHED() << "Could not encode extension favicon";
104 // Forwards the result on the request. If no favicon was available then
108 history::FaviconData favicon; local
109 favicon.known_icon = icon_data.get() != NULL && icon_data->size() > 0;
110 favicon.image_data = icon_data;
111 favicon.icon_type = history::FAVICON;
114 favicon));
/external/chromium/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.cc130 *icon = entry->favicon().bitmap();
131 if (!entry->favicon().is_valid() && menu_model_delegate()) {
222 // If the favicon has already been requested for this menu, don't do
241 history::FaviconData favicon) {
242 if (favicon.is_valid()) {
263 // Now that we have a valid NavigationEntry, decode the favicon and assign
266 if (gfx::PNGCodec::Decode(favicon.image_data->front(),
267 favicon.image_data->size(),
269 entry->favicon().set_is_valid(true);
270 entry->favicon()
239 OnFavIconDataAvailable( FaviconService::Handle handle, history::FaviconData favicon) argument
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dwm_overview_controller.cc168 WmOverviewFavicon* favicon; // Not owned member in struct:chromeos::BrowserListener::SnapshotNode
241 snapshots_[index].favicon->SetFavicon(
319 if (!snapshots_[i].favicon->IsVisible())
320 node.favicon->Show();
425 node.favicon = new WmOverviewFavicon;
426 node.favicon->Init(node.snapshot);
427 node.favicon->SetFavicon(browser_->GetTabContentsAt(index)->GetFavicon());
445 snapshots_[index].favicon->CloseNow();
/external/chromium/chrome/browser/history/
H A Dhistory_backend_unittest.cc217 GURL favicon_url1("http://www.google.com/favicon.ico");
218 GURL favicon_url2("http://news.google.com/favicon.ico");
323 // We should have a favicon for the first URL only. We look them up by favicon
332 // The remaining URL should still reference the same favicon, even if its
350 GURL favicon_url1("http://www.google.com/favicon.ico");
351 GURL favicon_url2("http://news.google.com/favicon.ico");
400 // The favicon should still be valid.
416 // And the favicon should be deleted.
438 // The favicon shoul
553 history::ImportedFaviconUsage favicon; local
[all...]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_utils_gtk.cc27 // Spacing between the favicon and the text.
41 // Padding between the chrome button highlight border and the contents (favicon,
100 GdkPixbuf* favicon; member in struct:__anon2436::DragRepresentationData
104 DragRepresentationData(GdkPixbuf* favicon, argument
107 : favicon(favicon),
110 g_object_ref(favicon);
114 g_object_unref(favicon);
132 gdk_cairo_set_source_pixbuf(cr, data->favicon, 0, 0);
138 int text_x = gdk_pixbuf_get_width(data->favicon)
[all...]

Completed in 293 milliseconds

12