/external/chromium/chrome/browser/history/ |
H A D | history_publisher.cc | 14 const std::vector<unsigned char>& thumbnail, const GURL& url, 22 &thumbnail, 13 PublishPageThumbnail( const std::vector<unsigned char>& thumbnail, const GURL& url, const base::Time& time) const argument
|
H A D | history_publisher.h | 37 void PublishPageThumbnail(const std::vector<unsigned char>& thumbnail, 52 const std::vector<unsigned char>* thumbnail; member in struct:history::HistoryPublisher::PageData 77 // The format of the thumbnail we pass to indexers.
|
H A D | top_sites_backend.cc | 54 const Images& thumbnail) { 58 url_rank, thumbnail)); 133 const Images& thumbnail) { 137 db_->SetPageThumbnail(url, url_rank, thumbnail); 52 SetPageThumbnail(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument 131 SetPageThumbnailOnDBThread(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument
|
H A D | top_sites_cache.cc | 28 RefCountedBytes* thumbnail, 31 img.thumbnail = thumbnail; 44 *bytes = found->second.thumbnail.get(); 27 SetPageThumbnail(const GURL& url, RefCountedBytes* thumbnail, const ThumbnailScore& score) argument
|
H A D | top_sites_database.cc | 73 "thumbnail BLOB," 90 "SELECT url, url_rank, title, thumbnail, redirects, " 114 Images thumbnail; local 115 thumbnail.thumbnail = RefCountedBytes::TakeVector(&data); 116 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); 117 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6); 118 thumbnail.thumbnail_score.at_top = statement.ColumnBool(7); 119 thumbnail.thumbnail_score.time_at_snapshot = 122 (*thumbnails)[gurl] = thumbnail; 143 SetPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 160 UpdatePageThumbnail( const MostVisitedURL& url, const Images& thumbnail) argument 187 AddPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 274 GetPageThumbnail(const GURL& url, Images* thumbnail) argument [all...] |
H A D | thumbnail_database.cc | 99 LOG(WARNING) << "Unable to update to thumbnail database to version 3."; 108 LOG(WARNING) << "Unable to update to thumbnail database to version 4."; 240 const SkBitmap& thumbnail, 248 if (!thumbnail.isNull()) { 267 SkAutoLockPixels thumbnail_lock(thumbnail); 269 reinterpret_cast<unsigned char*>(thumbnail.getAddr32(0, 0)), 270 gfx::JPEGCodec::FORMAT_SkBitmap, thumbnail.width(), 271 thumbnail.height(), 272 static_cast<int>(thumbnail.rowBytes()), 90, 287 // Publish the thumbnail t 237 SetPageThumbnail( const GURL& url, URLID id, const SkBitmap& thumbnail, const ThumbnailScore& score, base::Time time) argument [all...] |
H A D | top_sites_unittest.cc | 27 #include "chrome/tools/profiles/thumbnail-inl.h" 108 // thumbnail data, which is stored as jpgs. 155 // Gets the thumbnail for |url| from TopSites. 164 SkBitmap thumbnail; local 165 thumbnail.setConfig(SkBitmap::kARGB_8888_Config, 4, 4); 166 thumbnail.allocPixels(); 167 thumbnail.eraseColor(color); 168 return thumbnail; 265 // Returns true if the thumbnail equals the specified bytes. 493 // Create a dummy thumbnail [all...] |
H A D | history.cc | 434 const SkBitmap& thumbnail, 440 page_url, thumbnail, score); 433 SetPageThumbnail(const GURL& page_url, const SkBitmap& thumbnail, const ThumbnailScore& score) argument
|
H A D | history_types.h | 606 scoped_refptr<RefCountedBytes> thumbnail; member in struct:history::Images
|
H A D | top_sites.cc | 186 const SkBitmap& thumbnail, 209 if (!EncodeBitmap(thumbnail, &thumbnail_data)) 532 // When comparing the thumbnail scores, we need to take into account the 533 // redirect hops, which are not generated when the thumbnail is because the 541 image->thumbnail.get()) 544 image->thumbnail = const_cast<RefCountedBytes*>(thumbnail_data); 552 const RefCountedBytes* thumbnail, 554 if (!SetPageThumbnailNoDB(url, thumbnail, score)) 600 const RefCountedBytes* thumbnail, 607 image.second.thumbnail 185 SetPageThumbnail(const GURL& url, const SkBitmap& thumbnail, const ThumbnailScore& score) argument 551 SetPageThumbnailEncoded(const GURL& url, const RefCountedBytes* thumbnail, const ThumbnailScore& score) argument 599 AddTemporaryThumbnail(const GURL& url, const RefCountedBytes* thumbnail, const ThumbnailScore& score) argument [all...] |
/external/chromium_org/chrome/browser/media/ |
H A D | desktop_media_list.h | 29 // The thumbnail for the source. 30 gfx::ImageSkia thumbnail; member in struct:DesktopMediaList::Source 36 // thumbnail are updated once per second. If called after StartUpdating() then
|
H A D | native_desktop_media_list.cc | 169 // Get a thumbnail for each source. 198 gfx::ImageSkia thumbnail = local 203 media_list_, i, thumbnail)); 326 sources_[index].thumbnail = image;
|
/external/chromium_org/chrome/browser/history/ |
H A D | top_sites_backend.cc | 58 const Images& thumbnail) { 62 url_rank, thumbnail)); 124 const Images& thumbnail) { 128 db_->SetPageThumbnail(url, url_rank, thumbnail); 56 SetPageThumbnail(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument 122 SetPageThumbnailOnDBThread(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument
|
H A D | top_sites_database.cc | 23 // url URL of the sites for which we have a thumbnail. 24 // url_rank Index of the URL in that thumbnail, 0-based. The thumbnail 27 // title The title to display under that thumbnail. 30 // boring_score How "boring" that thumbnail is. See ThumbnailScore. 31 // good_clipping True if the thumbnail was clipped from the bottom, keeping 33 // at_top True if the thumbnail was captured at the top of the 35 // last_updated The time at which this thumbnail was last updated. 36 // load_completed True if the thumbnail was captured after the page load was 38 // last_forced If this is a forced thumbnail, record 468 Images thumbnail; local 481 SetPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 498 UpdatePageThumbnail( const MostVisitedURL& url, const Images& thumbnail) argument 525 AddPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 653 GetPageThumbnail(const GURL& url, Images* thumbnail) argument [all...] |
H A D | expire_history_backend_unittest.cc | 30 #include "chrome/tools/profiles/thumbnail-inl.h" 182 // Each visit has indexed data, each URL has thumbnail. The first two URLs will 225 // Thumbnails for each URL. |thumbnail| takes ownership of decoded SkBitmap. 228 gfx::Image thumbnail = gfx::Image::CreateFrom1xBitmap(*thumbnail_bitmap); local 233 top_sites_->SetPageThumbnail(url_row1.url(), thumbnail, score); 234 top_sites_->SetPageThumbnail(url_row2.url(), thumbnail, score); 235 top_sites_->SetPageThumbnail(url_row3.url(), thumbnail, score); 406 // Verify things are the way we expect with a URL row, favicon, thumbnail. 434 // Verify things are the way we expect with a URL row, favicon, thumbnail. 482 // Should still have the thumbnail [all...] |
H A D | history_types.h | 520 // If this is a URL for which we want to force a thumbnail, records the last 522 // If it's not a forced thumbnail, keep a time of 0. 603 scoped_refptr<base::RefCountedMemory> thumbnail; member in struct:history::Images
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | thumbnail_service_impl.cc | 22 // The thumbnail size in DIP. 26 // True if thumbnail retargeting feature is enabled (Finch/flags). 56 const gfx::Image& thumbnail) { 61 return local_ptr->SetPageThumbnail(context.url, thumbnail, context.score); 105 // Skip if we don't have to udpate the existing thumbnail. 110 // Skip if we don't have to udpate the temporary thumbnail (i.e. the one 55 SetPageThumbnail(const ThumbnailingContext& context, const gfx::Image& thumbnail) argument
|
H A D | content_based_thumbnailing_algorithm.cc | 98 LOG(WARNING) << "PostSequencedWorkerTask failed. The thumbnail for " 162 SkBitmap thumbnail = thumbnailing_utils::CreateRetargetedThumbnailImage( local 164 bool processing_failed = thumbnail.empty(); 169 << "The thumbnail for " << context->url 177 source_bitmap.extractSubset(&thumbnail, gfx::RectToSkIRect(clipping_rect)); 178 thumbnail = SkBitmapOperations::DownsampleByTwoUntilSize( 179 thumbnail, thumbnail_size.width(), thumbnail_size.height()); 198 base::Bind(&CallbackInvocationAdapter, callback, context, thumbnail)); 214 // thumbnail size).
|
H A D | thumbnail_tab_helper.cc | 42 // thumbnail for the tab rendered by the renderer, if needed. The 43 // heuristics to judge whether or not to update the thumbnail is 56 // Feed the constructed thumbnail to the thumbnail service. 58 const SkBitmap& thumbnail) { 59 gfx::Image image = gfx::Image::CreateFrom1xBitmap(thumbnail); 95 // for creating the thumbnail. 208 // Skip if we don't need to update the thumbnail. 57 UpdateThumbnail(const ThumbnailingContext& context, const SkBitmap& thumbnail) argument
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/ |
H A D | MostVisitedSites.java | 34 * Interface for receiving a thumbnail for a most visited site. 38 * Callback method for fetching thumbnail of a most visited URL. 41 * @param thumbnail The bitmap thumbnail for the requested URL. 44 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail); argument 93 * Fetches thumbnail bitmap for a url returned by getMostVisitedURLs. 101 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail) { 104 callback.onMostVisitedURLsThumbnailAvailable(thumbnail);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
H A D | metadata_cache.js | 20 * thumbnail: url, transform 40 * cache.clear(entry, 'thumbnail'); 41 * cache.get(entry, 'thumbnail', function(thumbnail) { 42 * img.src = thumbnail.url; 694 * thumbnail: { url, transform } 726 return type == 'drive' || type == 'thumbnail' || 833 result.thumbnail = {url: '', transform: null}; 838 result.thumbnail = { 856 * thumbnail [all...] |
/external/chromium/chrome/browser/tab_contents/ |
H A D | thumbnail_generator.cc | 40 // when a request for a thumbnail comes in, to grab the backing store and make 51 // thumbnail for the tab rendered by the renderer, if needed. The 52 // heuristics to judge whether or not to update the thumbnail is 73 // Creates a downsampled thumbnail for the given backing store. The returned 94 // Check if a clipped thumbnail is requested. 206 // We are going to render the thumbnail asynchronously now, so keep 258 // have to return the empty thumbnail. 415 // thumbnail in the wider screen. 442 // Skip if we don't need to update the thumbnail. 448 SkBitmap thumbnail local [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
H A D | wallpaper_private_api.cc | 557 // Generates thumbnail before call api function callback. We can then 558 // request thumbnail in the javascript callback. 686 // thumbnail. We should either resize it or include a wallpaper thumbnail in 718 BinaryValue* thumbnail = BinaryValue::CreateWithCopiedBuffer(data.c_str(), local 720 SetResult(thumbnail); 773 SetError(base::StringPrintf("Failed to create/write thumbnail of %s.",
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | desktop_media_picker_views.cc | 60 // source as a thumbnail with the title under it. 67 // Updates thumbnail and title from |source|. 69 void SetThumbnail(const gfx::ImageSkia& thumbnail); 227 void DesktopMediaSourceView::SetThumbnail(const gfx::ImageSkia& thumbnail) { argument 228 image_view_->SetImage(thumbnail); 470 source_view->SetThumbnail(source.thumbnail);
|
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_view_observer.cc | 80 // and thumbnail. 89 // define to write the time necessary for thumbnail/DOM text retrieval, 387 SkBitmap thumbnail; local 392 thumbnail = Downscale(image, 397 routing_id(), thumbnail, original_size)); 506 // level frame so the thumbnail may contain a frame that failed to load.
|