/external/chromium/chrome/common/ |
favicon_url.h | 11 // The favicon url from the render. 16 FAVICON = 1 << 0,
|
/external/chromium/chrome/browser/ui/webui/ |
favicon_source.cc | 36 history::FAVICON, 42 history::FAVICON, 67 history::FaviconData favicon) { 73 if (favicon.is_valid()) { 75 SendResponse(request_id, favicon.image_data);
|
/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...] |
favicon_helper.cc | 29 case FaviconURL::FAVICON: 30 return history::FAVICON; 71 icon_types_(icon_type == FAVICON ? history::FAVICON : 97 // 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 134 if (url == url_ && icon_type == history::FAVICON) { 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) [all...] |
favicon_helper.h | 28 // 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...] |
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(),
|
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/webkit/glue/ |
resource_type.h | 26 FAVICON, // a favicon
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksContract.java | 144 * The favicon of the bookmark, may be NULL. 148 public static final String FAVICON = "favicon";
|
PartnerBookmarksProvider.java | 120 map.put(PartnerBookmarksContract.Bookmarks.FAVICON, 121 PartnerBookmarksContract.Bookmarks.FAVICON); 177 PartnerBookmarksContract.Bookmarks.FAVICON + 272 PartnerBookmarksContract.Bookmarks.FAVICON); 281 byte[] favicon = null; 285 favicon = readRaw(res, faviconId); 287 Log.i(TAG, "Failed to read favicon for " + bookmarkTitle, e); 306 if (favicon != null) { 307 insertHelper.bind(faviconColumn, favicon);
|
/external/chromium/chrome/browser/history/ |
history_backend_unittest.cc | 217 GURL favicon_url1("http://www.google.com/favicon.ico"); 218 GURL favicon_url2("http://news.google.com/favicon.ico"); 220 FAVICON); 222 FAVICON); 323 // We should have a favicon for the first URL only. We look them up by favicon 326 GetFaviconIDForFaviconURL(favicon_url1, FAVICON, NULL); 329 GetFaviconIDForFaviconURL(favicon_url2, FAVICON, NULL); 330 EXPECT_FALSE(out_favicon2) << "Favicon not deleted"; 332 // The remaining URL should still reference the same favicon, even if it 553 history::ImportedFaviconUsage favicon; local [all...] |
thumbnail_database_unittest.cc | 119 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); 122 FaviconID id = db.AddFavicon(url, FAVICON); 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); 207 FaviconID id2 = db.AddFavicon(url, FAVICON); [all...] |
expire_history_backend_unittest.cc | 67 // Returns true if the given favicon/thumanil has an entry in the DB. 186 // share the same favicon, while the last one will have a unique favicon. The 202 // one will have a unique favicon. 203 FaviconID favicon1 = thumb_db_->AddFavicon(GURL("http://favicon/url1"), 204 FAVICON); 205 FaviconID favicon2 = thumb_db_->AddFavicon(GURL("http://favicon/url2"), 206 FAVICON); 414 // Add a favicon record. 415 const GURL favicon_url("http://www.google.com/favicon.ico") [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BookmarksLoader.java | 42 Bookmarks.FAVICON, // 3
|
Bookmarks.java | 193 * Update the bookmark's favicon. This is a convenience method for updating 194 * a bookmark favicon for the originalUrl and url of the passed in WebView. 198 * @param favicon The favicon bitmap to write to the db. 201 final String originalUrl, final String url, final Bitmap favicon) { 206 favicon.compress(Bitmap.CompressFormat.PNG, 100, os); 210 values.put(Images.FAVICON, os.toByteArray());
|
SnapshotTab.java | 161 Snapshots.FAVICON, // 3 209 byte[] favicon = result.getBlob(SNAPSHOT_FAVICON); 210 if (favicon != null) { 212 .decodeByteArray(favicon, 0, favicon.length);
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2UriObserverTests.java | 56 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888); local 58 favicon.compress(Bitmap.CompressFormat.PNG, 100, os); 61 values.put(Bookmarks.FAVICON, rawFavicon); 92 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888); local 94 favicon.compress(Bitmap.CompressFormat.PNG, 100, os); 97 values.put(History.FAVICON, rawFavicon);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider2.java | 256 map.put(Bookmarks.FAVICON, Bookmarks.FAVICON); 306 map.put(History.FAVICON, History.FAVICON); 324 map.put(Images.FAVICON, Images.FAVICON); 339 map.put(Combined.FAVICON, Combined.FAVICON); 353 map.put(Combined.FAVICON, Combined.FAVICON); [all...] |
SnapshotProvider.java | 47 public static final String FAVICON = "favicon"; 87 Snapshots.FAVICON + " BLOB," +
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 154 // Create test PNG representing favicon for url1. 197 url1_favicon, icon_data, history::FAVICON); 217 // Clear favicon so that it would be read from file. 220 url1_favicon, empty_data, history::FAVICON); 235 // Check loaded favicon (url1 is represents by 3 separate bookmarks).
|
bookmark_html_writer.cc | 351 // Map that stores favicon per URL. 437 // Filter out urls that we've already got favicon for. 442 favicon_service->GetFaviconForURL(GURL(url), history::FAVICON, 455 history::FaviconData favicon) { 461 if (favicon.is_valid() && !url.is_empty()) { 462 favicons_map_->insert(make_pair(url.spec(), favicon.image_data));
|
/frameworks/base/core/java/android/provider/ |
Browser.java | 85 BookmarkColumns.FAVICON, // 6 183 * Stores a Bitmap extra in an {@link Intent} representing the favicon of a 185 * Browser, use this to access the favicon. 617 * The favicon of the bookmark. Must decode via {@link BitmapFactory#decodeByteArray}. 620 public static final String FAVICON = "favicon";
|
BrowserContract.java | 188 * The favicon of the bookmark, may be NULL. 192 public static final String FAVICON = "favicon"; 589 * Used in {@link Images#TYPE} column and indicats the row is a favicon.
|
/external/chromium/chrome/browser/ui/web_applications/ |
web_app_ui.cc | 131 // No app icon. Just use the favicon from TabContents. 140 history::FAVICON, 155 shortcut_info_.favicon = image; 234 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon); 307 info->favicon = tab_contents->GetFavicon();
|
/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));
|