Searched defs:thumbnail (Results 1 - 14 of 14) sorted by relevance

/external/chromium/chrome/browser/history/
H A Dhistory_publisher.cc14 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 Dhistory_publisher.h37 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 Dtop_sites_backend.cc54 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 Dtop_sites_cache.cc28 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 Dtop_sites_database.cc73 "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 Dthumbnail_database.cc99 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 Dtop_sites_unittest.cc27 #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 Dhistory.cc434 const SkBitmap& thumbnail,
440 page_url, thumbnail, score);
433 SetPageThumbnail(const GURL& page_url, const SkBitmap& thumbnail, const ThumbnailScore& score) argument
H A Dhistory_types.h606 scoped_refptr<RefCountedBytes> thumbnail; member in struct:history::Images
H A Dtop_sites.cc186 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...]
H A Dhistory_backend.cc557 // thumbnail databases for publishing history.
592 // happen since the thumbnail and main datbase versions should be in sync.
595 LOG(WARNING) << "Could not initialize the thumbnail database.";
1487 const SkBitmap& thumbnail,
1495 thumbnail_db_->SetPageThumbnail(url, url_id, thumbnail, score,
1528 // If there are some redirects, try to get a thumbnail from the last
1536 // If we don't have a thumbnail from redirects, try the URL directly.
1543 // from the visit table to try to find a thumbnail.
1560 // If there is no thumbnail DB, we can still record a successful migration.
1580 // final destinations of those redirect chains have a good thumbnail
1485 SetPageThumbnail( const GURL& url, const SkBitmap& thumbnail, const ThumbnailScore& score) argument
[all...]
/external/webkit/Source/WebKit/qt/docs/webkitsnippets/webpage/
H A Dmain.cpp48 Thumbnailer thumbnail(QUrl("http://qt.nokia.com"));
50 QObject::connect(&thumbnail, SIGNAL(finished()),
75 QImage thumbnail = image.scaled(400, 400); local
76 thumbnail.save("thumbnail.png");
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator.cc40 // 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/chrome/browser/
H A Daeropeek_manager.cc163 // Sends a thumbnail bitmap to Windows. Windows assumes this function is called
204 // Invalidates the thumbnail image of the specified place-holder window. (See
228 // Register a tab into the thumbnail list of Windows.
230 // Create a thumbnail image and send it to Windows.
237 // A task that registers a thumbnail window as a child of the specified
251 // that this thumbnail window should be displayed when we hover the
292 // A task which creates a thumbnail image used by AeroPeek and sends it to
315 // Calculate the size of the aeropeek thumbnail and resize the tab bitmap
378 LOG(ERROR) << "cannot set a tab thumbnail: " << result;
381 // Calculates the thumbnail siz
937 SkBitmap thumbnail; local
1206 GetTabThumbnail(int tab_id, SkBitmap* thumbnail) argument
[all...]

Completed in 559 milliseconds