Home
last modified time | relevance | path

Searched refs:favicon (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/sync/protocol/
Dfavicon_image_specifics.proto5 // Sync protocol datatype extension for the favicon image specifics.
15 // The image data for the favicon (PNG encoded).
16 optional bytes favicon = 1; field
17 // The favicon dimensions.
24 // The url of the favicon image.
32 // A normal low-resolution web favicon (max resolution 16x16).
34 // A slightly higher-resolution web favicon (max resolution 32x32).
36 // A high-resolution touch favicon (not precomposed, max resolution 64x64).
38 // A high-resolution touch favicon (precomposed, max resolution 64x64).
Dfavicon_tracking_specifics.proto5 // Sync protocol datatype extension for the favicon tracking type.
14 // Tracking info for of favicon images. These control expiration of images
17 // The url of the favicon image.
19 // The last time a page using this favicon was visited (in milliseconds
22 // Whether this favicon is currently bookmarked or not.
Dsession_specifics.proto74 // The favicon for the current url the tab is displaying. Either empty
75 // or a valid PNG encoded favicon.
76 optional bytes favicon = 8; field
77 // The type of favicon. For now only normal web favicons are supported.
82 // The url of the actual favicon (as opposed to the page using the favicon).
125 // The favicon url associated with this page.
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarkUtils.java60 Bitmap favicon, int rValue, int gValue, int bValue) { in createAddToHomeIntent() argument
64 i.putExtra(Intent.EXTRA_SHORTCUT_ICON, createIcon(context, favicon, rValue, in createAddToHomeIntent()
81 Bitmap favicon, int rValue, int gValue, int bValue) { in createAddToHomeIntent() argument
84 context, shortcutIntent, title, favicon, rValue, gValue, bValue); in createAddToHomeIntent()
122 private static Bitmap createIcon(Context context, Bitmap favicon, int rValue, in createIcon() argument
131 if (favicon == null) { in createIcon()
132 favicon = getBitmapFromResourceId(context, R.drawable.globe_favicon, iconDensity); in createIcon()
136 if (favicon.getWidth() >= smallestSide / 2 && favicon.getHeight() >= smallestSide / 2) { in createIcon()
137 drawTouchIconToCanvas(context, favicon, canvas); in createIcon()
141 drawFaviconToCanvas(context, favicon, canvas); in createIcon()
[all …]
/external/chromium_org/components/
Dfavicon.gypi8 # GN version: //components/favicon/core
18 'favicon/core/browser/favicon_client.h',
19 'favicon/core/favicon_driver.h',
20 'favicon/core/favicon_url.cc',
21 'favicon/core/favicon_url.h',
DOWNERS50 per-file favicon*=sky@chromium.org
51 per-file favicon*=stevenjb@chromium.org
52 # Temporary for the duration of the favicon componentization.
53 per-file favicon*=blundell@chromium.org
54 # Temporary for the duration of the favicon componentization.
55 per-file favicon*=droger@chromium.org
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/browser/
DNavigationEntry.java25 String title, Bitmap favicon) { in NavigationEntry() argument
31 mFavicon = favicon; in NavigationEntry()
92 public void updateFavicon(Bitmap favicon) { in updateFavicon() argument
93 mFavicon = favicon; in updateFavicon()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_drag_drop_cocoa.mm38 const gfx::Image& favicon = model->GetFavicon(node);
40 favicon.IsEmpty() ? nil : favicon.ToNSImage(), node->GetTitle());
88 NSImage* DragImageForBookmark(NSImage* favicon, const base::string16& title) {
89 // If no favicon, use a default.
90 if (!favicon) {
92 favicon = rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON).ToNSImage();
97 return favicon;
110 CGFloat text_left = [favicon size].width + kIconMargin;
111 NSSize drag_image_size = [favicon size];
121 [favicon drawAtPoint:NSZeroPoint
Dbookmark_menu_bridge.mm335 // Check to see if we have a favicon.
336 NSImage* favicon = nil;
341 favicon = image.ToNSImage();
343 // If we do not have a loaded favicon, use the default site image instead.
344 if (!favicon) {
346 favicon = rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON).ToNSImage();
348 [item setImage:favicon];
/external/chromium_org/chrome/browser/favicon/
Dfavicon_tab_helper.cc130 const FaviconStatus& favicon(entry->GetFavicon()); in SaveFavicon() local
131 if (!favicon.valid || favicon.url.is_empty() || in SaveFavicon()
132 favicon.image.IsEmpty()) { in SaveFavicon()
136 entry->GetURL(), favicon.url, favicon_base::FAVICON, favicon.image); in SaveFavicon()
249 std::vector<favicon::FaviconURL> favicon_urls; in DidUpdateFaviconURL()
253 favicon::FaviconURL(candidate.icon_url, in DidUpdateFaviconURL()
Dfavicon_handler.h94 void OnUpdateFaviconURL(const std::vector<favicon::FaviconURL>& candidates);
112 const std::vector<favicon::FaviconURL>& image_urls() const { in image_urls()
231 favicon::FaviconURL* current_candidate() { in current_candidate()
277 std::vector<favicon::FaviconURL> image_urls_;
DDEPS8 "+chrome/browser/favicon",
14 "+components/favicon/core",
/external/chromium_org/chrome/browser/history/
Dthumbnail_database_unittest.cc201 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); in TEST_F() local
206 db.AddFavicon(url, favicon_base::TOUCH_ICON, favicon, time, gfx::Size()); in TEST_F()
251 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); in TEST_F() local
256 db.AddFaviconBitmap(id, favicon, time, gfx::Size()); in TEST_F()
281 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); in TEST_F() local
287 db.AddFaviconBitmap(id1, favicon, time, kSmallSize); in TEST_F()
288 db.AddFaviconBitmap(id1, favicon, time, kLargeSize); in TEST_F()
293 db.AddFaviconBitmap(id2, favicon, time, kSmallSize); in TEST_F()
411 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); in TEST_F() local
418 icon_url, favicon_base::FAVICON, favicon, time, gfx::Size()); in TEST_F()
[all …]
/external/chromium_org/chrome/utility/importer/
Dbookmark_html_reader_unittest.cc59 GURL url, favicon; in TEST() local
66 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
77 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
87 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
98 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
112 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
123 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
Dbookmark_html_reader.cc141 GURL url, favicon; in ImportBookmarksFile() local
149 &url, &favicon, &shortcut, in ImportBookmarksFile()
186 DataURLToFaviconUsage(url, favicon, favicons); in ImportBookmarksFile()
308 GURL* favicon, in ParseBookmarkFromLine() argument
323 *favicon = GURL(); in ParseBookmarkFromLine()
363 *favicon = GURL(value); in ParseBookmarkFromLine()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_renderer_data.cc23 favicon.BackedBySameObjectAs(data.favicon) && in Equals()
/external/chromium_org/chrome/browser/ui/views/
Dtab_icon_view.cc147 gfx::ImageSkia favicon = model_->GetFaviconForTabIconView(); in OnPaint() local
148 if (!favicon.isNull()) { in OnPaint()
150 PaintFavicon(canvas, favicon); in OnPaint()
/external/chromium_org/chrome/browser/history/android/
Dandroid_provider_backend.cc337 scoped_ptr<std::set<GURL> > favicon(new std::set<GURL>); in UpdateHistoryAndBookmarks() local
351 favicon->insert(i->url); in UpdateHistoryAndBookmarks()
363 if (!favicon->empty()) { in UpdateHistoryAndBookmarks()
366 base::Passed(&favicon))); in UpdateHistoryAndBookmarks()
398 scoped_ptr<std::set<GURL> > favicon; in InsertHistoryAndBookmark() local
402 favicon.reset(new std::set<GURL>); in InsertHistoryAndBookmark()
403 favicon->insert(url_row.url()); in InsertHistoryAndBookmark()
413 if (favicon) { in InsertHistoryAndBookmark()
414 DCHECK(!favicon->empty()); in InsertHistoryAndBookmark()
417 base::Passed(&favicon))); in InsertHistoryAndBookmark()
[all …]
Dfavicon_sql_handler.cc41 GURL(), favicon_base::FAVICON, row.favicon(), Time::Now(), gfx::Size()); in Update()
106 GURL(), favicon_base::FAVICON, row->favicon(), Time::Now(), gfx::Size()); in Insert()
/external/chromium_org/chrome/browser/ui/
Dmetro_pin_tab_helper_win.cc156 const SkBitmap& favicon);
175 const SkBitmap& favicon) in PinPageTaskRunner() argument
178 favicon_(favicon) {} in PinPageTaskRunner()
377 SkBitmap favicon; in TogglePinnedToStartScreen() local
382 favicon = favicon_tab_helper->GetFavicon().AsImageSkia().GetRepresentation( in TogglePinnedToStartScreen()
386 favicon_chooser_.reset(new FaviconChooser(this, title, url_str, favicon)); in TogglePinnedToStartScreen()
/external/chromium_org/chrome/browser/sync/glue/
Dfavicon_cache_unittest.cc170 if (image_specifics.favicon_web().favicon() != test_data.image_16 || in CompareFaviconDataToSpecifics()
179 if (image_specifics.favicon_web_32().favicon() != test_data.image_32 || in CompareFaviconDataToSpecifics()
188 if (image_specifics.favicon_touch_64().favicon() != test_data.image_64 || in CompareFaviconDataToSpecifics()
337 scoped_refptr<base::RefCountedMemory> favicon; in ExpectFaviconEquals() local
338 if (!cache_.GetSyncedFaviconForPageURL(gurl, &favicon)) in ExpectFaviconEquals()
340 if (favicon->size() != bytes.size()) in ExpectFaviconEquals()
342 for (size_t i = 0; i < favicon->size(); ++i) { in ExpectFaviconEquals()
343 if (bytes[i] != *(favicon->front() + i)) in ExpectFaviconEquals()
563 TestFaviconData favicon = BuildFaviconData(i); in TEST_F() local
564 TriggerSyncFaviconReceived(favicon.page_url, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/android/
Dtab_android.cc653 SkBitmap favicon = in GetFavicon() local
660 if (favicon.empty()) { in GetFavicon()
661 favicon = favicon_tab_helper->GetFavicon().AsBitmap(); in GetFavicon()
664 if (!favicon.empty()) { in GetFavicon()
668 if (favicon.width() != target_size_dip || in GetFavicon()
669 favicon.height() != target_size_dip) { in GetFavicon()
670 favicon = in GetFavicon()
671 skia::ImageOperations::Resize(favicon, in GetFavicon()
677 bitmap = gfx::ConvertToJavaBitmap(&favicon); in GetFavicon()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dlocation_icon_decoration.mm8 #include "chrome/browser/favicon/favicon_tab_helper.h"
70 NSImage* favicon =
72 NSImage* iconImage = favicon ? favicon : GetImage();
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_show_all_button.mm20 NSImage* favicon = rb.GetNativeImageNamed(IDR_DOWNLOADS_FAVICON).ToNSImage();
21 [self setImage:favicon];
/external/chromium_org/chrome/browser/resources/options/
Doptions_page.css281 * favicon, as an indicator that instead of deleting the permission here
352 .favicon-cell {
359 input[type='url'].favicon-cell {
364 html[dir=rtl] input.favicon-cell {
368 list .favicon-cell {
377 html[dir=rtl] list .favicon-cell {

12345