HomeSort by relevance Sort by last modified time
    Searched refs:favicon (Results 26 - 50 of 202) sorted by null

12 3 4 5 6 7 8 9

  /external/chromium_org/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 35 // Spacing between the favicon and the text.
48 // Padding between the chrome button highlight border and the contents (favicon,
108 GdkPixbuf* favicon; member in struct:__anon8505::DragRepresentationData
112 DragRepresentationData(GdkPixbuf* favicon,
115 : favicon(favicon),
118 g_object_ref(favicon);
122 g_object_unref(favicon);
140 gdk_cairo_set_source_pixbuf(cr, data->favicon, 0, 0);
149 int text_x = gdk_pixbuf_get_width(data->favicon) + kBarButtonPadding
177 const gfx::Image& favicon = model->GetFavicon(node); local
    [all...]
  /external/chromium_org/chrome/browser/history/
thumbnail_database_unittest.cc 121 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
124 chrome::FaviconID icon_id = db.AddFavicon(url, chrome::FAVICON);
126 FaviconBitmapID bitmap1_id = db.AddFaviconBitmap(icon_id, favicon, time,
128 FaviconBitmapID bitmap2_id = db.AddFaviconBitmap(icon_id, favicon, time,
138 EXPECT_EQ(chrome::FAVICON, icon_type_out);
147 // Favicon bitmaps do not need to be in particular order.
181 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
187 favicon,
235 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
241 db.AddFaviconBitmap(id, favicon, time, gfx::Size())
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/topsites/magic8ball/
newTab.js 14 eightBallWindow.style.backgroundImage = 'url(chrome://favicon/' +
  /external/chromium_org/ui/webui/resources/js/
util.js 262 * Creates a CSS -webkit-image-set for a favicon request.
263 * @param {string} url The url for the favicon.
264 * @param {number=} opt_size Optional preferred size of the favicon.
265 * @param {string=} opt_type Optional type of favicon to request. Valid values
266 * are 'favicon' and 'touch-icon'. Default is 'favicon'.
267 * @return {string} -webkit-image-set for the favicon.
271 var type = opt_type || 'favicon';
277 * Creates a new URL for a favicon request for the current device pixel ratio.
281 * @param {string} url The url for the favicon
    [all...]
  /external/chromium_org/chrome/browser/favicon/
favicon_tab_helper.cc 5 #include "chrome/browser/favicon/favicon_tab_helper.h"
8 #include "chrome/browser/favicon/favicon_handler.h"
9 #include "chrome/browser/favicon/favicon_service_factory.h"
10 #include "chrome/browser/favicon/favicon_util.h"
43 FaviconHandler::FAVICON));
62 // Like GetTitle(), we also want to use the favicon for the last committed
100 // No favicon on Instant New Tab Pages.
112 // Make sure the page is in history, otherwise adding the favicon does
124 const FaviconStatus& favicon(entry->GetFavicon());
125 if (!favicon.valid || favicon.url.is_empty() |
    [all...]
  /external/chromium/chrome/browser/
favicon_helper_unittest.cc 172 // The methods to access favicon internal.
281 const GURL icon_url("http://www.google.com/favicon");
283 TestFaviconHelper helper(page_url, contents(), FaviconHelper::FAVICON);
291 EXPECT_EQ(history::FAVICON, history_handler->icon_type_);
295 history_handler->favicon_data_.icon_type = history::FAVICON;
305 EXPECT_TRUE(helper.GetEntry()->favicon().is_valid());
306 EXPECT_EQ(icon_url, helper.GetEntry()->favicon().url());
308 // Simulates update favicon url.
310 urls.push_back(FaviconURL(icon_url, FaviconURL::FAVICON));
317 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type)
    [all...]
custom_home_pages_table_model.cc 41 // If non-zero, indicates we're loading the favicon for the page.
167 history::FAVICON, &query_consumer_,
193 history::FaviconData favicon) {
202 if (favicon.is_valid()) {
205 if (gfx::PNGCodec::Decode(favicon.image_data->front(),
206 favicon.image_data->size(),
custom_home_pages_table_model.h 58 // title, and favicon of the page.
61 // Loads the title and favicon for the specified entry.
74 history::FaviconData favicon);
possible_url_model.cc 29 // 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.
166 result.url, history::FAVICON, &consumer_,
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()
    [all...]
  /external/chromium_org/chrome/utility/importer/
bookmark_html_reader_unittest.cc 56 GURL url, favicon; local
63 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
74 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
84 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
95 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
109 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
120 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
bookmark_html_reader.h 69 // See above, this will also put the data: URL of the favicon into |*favicon|
70 // if there is a favicon given. |post_data| is set for POST base keywords to
76 GURL* favicon,
  /external/chromium_org/chrome/browser/ui/views/
tab_icon_view.cc 38 // favicon.
114 // For source images smaller than the favicon square, scale them as if they
115 // were padded to fit the favicon square, so we don't blow up tiny favicons
146 gfx::ImageSkia favicon = model_->GetFaviconForTabIconView(); local
147 if (!favicon.isNull()) {
149 PaintFavicon(canvas, favicon);
  /external/chromium/chrome/browser/ui/webui/
chrome_web_ui_factory.cc 282 // 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));
extension_icon_source.h 49 // 2) If a 16px icon was requested, the favicon for extension's launch URL.
97 // Loads the favicon image for the app associated with the |request_id|. If
103 history::FaviconData favicon);
114 // has a corresponding favicon.
extension_icon_source.cc 202 history::FAVICON,
210 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);
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 27 // 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:__anon5006::DragRepresentationData
104 DragRepresentationData(GdkPixbuf* favicon,
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) + kBarButtonPadding
    [all...]
  /external/chromium_org/chrome/browser/history/android/
favicon_sql_handler.cc 20 HistoryAndBookmarkRow::FAVICON};
38 // icon is already in database, just create a new favicon.
42 chrome::FAVICON,
43 row.favicon(),
53 // Remove all icon mappings to favicons of type FAVICON.
56 i->url, chrome::FAVICON, &icon_mappings);
69 // As we update the favicon, Let's remove unused favicons if any.
101 if (!row->is_value_set_explicitly(HistoryAndBookmarkRow::FAVICON) ||
111 chrome::FAVICON,
112 row->favicon(),
    [all...]
android_provider_backend.cc 10 #include "chrome/browser/favicon/favicon_changed_details.h"
37 "android_cache_db.bookmark_cache.favicon_id AS favicon, "
338 scoped_ptr<FaviconChangedDetails> favicon(new FaviconChangedDetails);
351 row.is_value_set_explicitly(HistoryAndBookmarkRow::FAVICON))
352 favicon->urls.insert(i->url);
359 if (!favicon->urls.empty())
361 chrome::NOTIFICATION_FAVICON_CHANGED, favicon.release()));
394 scoped_ptr<FaviconChangedDetails> favicon; local
395 // No favicon should be changed if the thumbnail_db_ is not available.
396 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::FAVICON) &
    [all...]
  /external/chromium_org/chrome/browser/
jumplist_win.h 75 void SetIcon(const std::wstring& icon, int index, bool favicon) {
78 favicon_ = favicon;
177 // Starts loading a favicon for each URL in |icon_urls_|.
186 // that retrieves a favicon for each URL in the list.
190 // A callback function for HistoryService that notify when a requested favicon
198 // objects and send another query that retrieves a favicon for each URL in
248 // Id of last favicon task. It's used to cancel current task if a new one
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebViewClient.java 51 public void onPageStarted(WebView view, String url, Bitmap favicon) {
52 mWrappedClient.onPageStarted(view, url, favicon);
  /external/chromium_org/chrome/browser/sync/glue/
session_model_associator_unittest.cc 69 scoped_refptr<base::RefCountedMemory> favicon; local
70 if (!cache->GetSyncedFaviconForPageURL(gurl, &favicon))
72 if (favicon->size() != expected_bytes.size())
74 for (size_t i = 0; i < favicon->size(); ++i) {
75 if (expected_bytes[i] != *(favicon->front() + i))
460 // Create tab specifics with an empty favicon. Ensure it gets ignored and not
461 // stored into the synced favicon lookups.
463 std::string favicon; local
464 std::string favicon_url = "http://www.faviconurl.com/favicon.ico";
467 tab.set_favicon(favicon);
482 std::string favicon = "icon bytes"; local
502 std::string favicon = "icon bytes"; local
524 std::string favicon = "icon bytes"; local
    [all...]
  /external/chromium_org/chrome/browser/resources/ntp4/
suggestions_page.css 44 .suggestions .favicon {
55 html[dir='rtl'] .suggestions .favicon {
  /external/chromium/chrome/browser/importer/
firefox_importer_unittest.cc 106 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/extensions/
extension_web_ui.cc 57 // 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/views/
create_application_shortcut_view.cc 239 shortcut_info_.favicon);
438 tab_contents_->extension_tab_helper()->SetAppIcon(shortcut_info_.favicon);
460 history::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);

Completed in 3119 milliseconds

12 3 4 5 6 7 8 9