Searched refs:favicon (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/
H A Dapp.yaml12 - url: /favicon.ico
13 static_files: favicon.ico
14 upload: favicon.ico
/external/chromium/chrome/browser/ui/views/tabs/
H A Dtab_renderer_data.cc22 favicon.pixelRef() &&
23 favicon.pixelRef() == data.favicon.pixelRef() &&
24 favicon.pixelRefOffset() == data.favicon.pixelRefOffset() &&
H A Dtab_renderer_data.h41 SkBitmap favicon; member in struct:TabRendererData
/external/chromium/chrome/browser/
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.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 Dfavicon_helper_unittest.cc172 // The methods to access favicon internal.
281 const GURL icon_url("http://www.google.com/favicon");
305 EXPECT_TRUE(helper.GetEntry()->favicon().is_valid());
306 EXPECT_EQ(icon_url, helper.GetEntry()->favicon().url());
308 // Simulates update favicon url.
326 const GURL icon_url("http://www.google.com/favicon");
346 EXPECT_TRUE(helper.GetEntry()->favicon().is_valid());
347 EXPECT_EQ(icon_url, helper.GetEntry()->favicon().url());
349 // Simulates update favicon url.
367 // Reset the history_handler to verify whether favicon i
[all...]
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 Dcustom_home_pages_table_model.h58 // title, and favicon of the page.
61 // Loads the title and favicon for the specified entry.
74 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 Dpossible_url_model.h40 history::FaviconData favicon);
56 // Our consumer for favicon requests.
H A Dfavicon_helper.h28 // FaviconHelper is used to fetch the favicon for TabContents.
30 // FetchFavicon requests the favicon from the favicon service which in turn
31 // requests the favicon from the history database. At this point
33 // favicon. To ensure we handle reloading stale favicons as well as
34 // reloading a favicon on page reload we always request the favicon from
35 // history regardless of whether the NavigationEntry has a favicon.
39 // db on our request for the favicon (OnFaviconDataForInitialURL),
40 // or a message from the renderer giving us the URL of the favicon fo
[all...]
/external/chromium/chrome/browser/ui/touch/tabs/
H A Dtouch_tab.cc21 // The size of the favicon touch area. This generally would be the same as
193 (data().favicon.isNull() ? kFaviconSize : data().favicon.width());
197 if (!data().favicon.isNull() && data().favicon.width() != kFaviconSize)
198 favicon_x += (data().favicon.width() - kFaviconSize) / 2;
219 if (!data().favicon.isNull()) {
221 if ((data().favicon.width() == kTouchTabIconSize) &&
222 (data().favicon.height() == kTouchTabIconSize)) {
223 canvas->DrawBitmapInt(data().favicon,
[all...]
/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 Dfavicon_source.h36 // Called when favicon data is available from the history backend.
38 history::FaviconData favicon);
40 // Sends the default favicon.
48 // Raw PNG representation of the favicon to show when the favicon
49 // database doesn't have a favicon for a webpage.
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/history/
H A Dthumbnail_database_unittest.cc119 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
124 db.SetFavicon(id, favicon, time);
145 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
151 db.SetFavicon(id, favicon, time);
167 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
172 db.SetFavicon(id, favicon, time);
199 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data));
204 db.SetFavicon(id, favicon, time);
208 db.SetFavicon(id2, favicon, time);
230 scoped_refptr<RefCountedBytes> favicon(ne
[all...]
/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/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);
H A Dcreate_application_shortcut_view.cc239 shortcut_info_.favicon);
438 tab_contents_->extension_tab_helper()->SetAppIcon(shortcut_info_.favicon);
471 shortcut_info_.favicon = image;
472 static_cast<AppInfoView*>(app_info_)->UpdateIcon(shortcut_info_.favicon);
526 shortcut_info_.favicon = *image;
527 static_cast<AppInfoView*>(app_info_)->UpdateIcon(shortcut_info_.favicon);
/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);
/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:__anon2023::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...]
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_html_writer.h61 // Starts async fetch for the next bookmark favicon.
69 history::FaviconData favicon);
75 // for each of them. After favicon is fetched top url is removed from list.
81 // Map that stores favicon per URL.
/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/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();

Completed in 2053 milliseconds

123