Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium/chrome/browser/history/
Dtop_sites_database.cc114 Images thumbnail; in GetPageThumbnails() local
115 thumbnail.thumbnail = RefCountedBytes::TakeVector(&data); in GetPageThumbnails()
116 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); in GetPageThumbnails()
117 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6); in GetPageThumbnails()
118 thumbnail.thumbnail_score.at_top = statement.ColumnBool(7); in GetPageThumbnails()
119 thumbnail.thumbnail_score.time_at_snapshot = in GetPageThumbnails()
122 (*thumbnails)[gurl] = thumbnail; in GetPageThumbnails()
145 const Images& thumbnail) { in SetPageThumbnail() argument
151 AddPageThumbnail(url, new_rank, thumbnail); in SetPageThumbnail()
154 UpdatePageThumbnail(url, thumbnail); in SetPageThumbnail()
[all …]
Dhistory_indexer.idl16 // This is the method called by Chrome to send content and thumbnail of the
17 // page to be indexed. The html content and thumbnail for the same url
19 // thumbnail parameters will be NULL when sending only the content.
24 // |thumbnail_format| - The format of the thumbnail image. It is currently
27 // |thumbnail| - This is an array of bytes that represents the thumbnail in
34 [in] VARIANT thumbnail);
Dtop_sites_database.h56 const Images& thumbnail);
63 bool GetPageThumbnail(const GURL& url, Images* thumbnail);
76 const Images& thumbnail);
83 const Images& thumbnail);
Dtop_sites_unittest.cc164 SkBitmap thumbnail; in CreateBitmap() local
165 thumbnail.setConfig(SkBitmap::kARGB_8888_Config, 4, 4); in CreateBitmap()
166 thumbnail.allocPixels(); in CreateBitmap()
167 thumbnail.eraseColor(color); in CreateBitmap()
168 return thumbnail; in CreateBitmap()
494 SkBitmap thumbnail(CreateBitmap(SK_ColorWHITE)); in TEST_F() local
503 thumbnail, medium_score)); in TEST_F()
507 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, medium_score)); in TEST_F()
508 EXPECT_FALSE(top_sites()->SetPageThumbnail(url2, thumbnail, low_score)); in TEST_F()
509 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, high_score)); in TEST_F()
[all …]
Dtop_sites_cache.cc28 RefCountedBytes* thumbnail, in SetPageThumbnail() argument
31 img.thumbnail = thumbnail; in SetPageThumbnail()
44 *bytes = found->second.thumbnail.get(); in GetPageThumbnail()
Dtop_sites_backend.cc54 const Images& thumbnail) { in SetPageThumbnail() argument
58 url_rank, thumbnail)); in SetPageThumbnail()
133 const Images& thumbnail) { in SetPageThumbnailOnDBThread() argument
137 db_->SetPageThumbnail(url, url_rank, thumbnail); in SetPageThumbnailOnDBThread()
Dhistory_publisher.cc14 const std::vector<unsigned char>& thumbnail, const GURL& url, in PublishPageThumbnail() argument
22 &thumbnail, in PublishPageThumbnail()
Dhistory_publisher.h37 void PublishPageThumbnail(const std::vector<unsigned char>& thumbnail,
52 const std::vector<unsigned char>* thumbnail; member
Dhistory_publisher_win.cc114 if (page_data.thumbnail) { in PublishDataToIndexers()
115 for (size_t i = 0; i < page_data.thumbnail->size(); ++i) in PublishDataToIndexers()
116 thumbnail_arr.Add((*page_data.thumbnail)[i]); in PublishDataToIndexers()
Dtop_sites_backend.h53 const Images& thumbnail);
89 const Images& thumbnail);
Dtop_sites.h61 const SkBitmap& thumbnail,
213 const RefCountedBytes* thumbnail,
227 const RefCountedBytes* thumbnail,
Dthumbnail_database.cc240 const SkBitmap& thumbnail, in SetPageThumbnail() argument
248 if (!thumbnail.isNull()) { in SetPageThumbnail()
267 SkAutoLockPixels thumbnail_lock(thumbnail); in SetPageThumbnail()
269 reinterpret_cast<unsigned char*>(thumbnail.getAddr32(0, 0)), in SetPageThumbnail()
270 gfx::JPEGCodec::FORMAT_SkBitmap, thumbnail.width(), in SetPageThumbnail()
271 thumbnail.height(), in SetPageThumbnail()
272 static_cast<int>(thumbnail.rowBytes()), 90, in SetPageThumbnail()
Dtop_sites.cc186 const SkBitmap& thumbnail, in SetPageThumbnail() argument
209 if (!EncodeBitmap(thumbnail, &thumbnail_data)) in SetPageThumbnail()
541 image->thumbnail.get()) in SetPageThumbnailNoDB()
544 image->thumbnail = const_cast<RefCountedBytes*>(thumbnail_data); in SetPageThumbnailNoDB()
552 const RefCountedBytes* thumbnail, in SetPageThumbnailEncoded() argument
554 if (!SetPageThumbnailNoDB(url, thumbnail, score)) in SetPageThumbnailEncoded()
600 const RefCountedBytes* thumbnail, in AddTemporaryThumbnail() argument
607 image.second.thumbnail = const_cast<RefCountedBytes*>(thumbnail); in AddTemporaryThumbnail()
845 it->second.thumbnail, in SetTopSites()
/external/chromium/chrome/browser/resources/
Dbug_report.css44 .thumbnail-list {
52 .image-thumbnail-container {
59 .image-thumbnail-container-selected {
66 .image-thumbnail-container:hover {
75 .image-thumbnail {
83 .image-thumbnail:hover {
87 .image-thumbnail div {
91 .image-thumbnail img {
96 .image-thumbnail:hover div {
107 .image-thumbnail:hover div img {
[all …]
Dnew_new_tab_theme.css38 .thumbnail {
42 .thumbnail-container,
43 .thumbnail-container > .title {
47 .thumbnail-container:focus .thumbnail,
48 .thumbnail-container:hover .thumbnail {
52 .thumbnail-container:focus .edit-bar,
53 .thumbnail-container:hover .edit-bar {
59 .thumbnail-container:hover > .edit-mode-border {
63 .filler .thumbnail-wrapper {
68 .filler .thumbnail {
Dbug_report.js60 var thumbnail = document.createElement('img');
61 thumbnail.id = thumbnailDiv.id + '-image';
64 thumbnail.src = screenshot + '?' + Date.now();
65 innerDiv.appendChild(thumbnail);
/external/chromium/chrome/browser/resources/ntp/
Dmost_visited.css9 .thumbnail-container {
17 .thumbnail-container:focus {
21 .thumbnail,
22 .thumbnail-container > .title {
28 .thumbnail-container > .title {
41 .thumbnail-wrapper {
59 .filler .thumbnail-wrapper {
64 .filler .thumbnail {
95 .thumbnail-container:focus .edit-bar,
96 .thumbnail-container:hover .edit-bar {
[all …]
/external/chromium/chrome/browser/resources/ntp4/
Dmost_visited_page.css35 /* filler mode: hide everything except the thumbnail --- leave a grey rectangle
46 * through from behind the thumbnail (some themes have a partially transparent
47 * thumbnail border color). */
154 .thumbnail {
161 .filler .thumbnail {
168 .thumbnail-wrapper {
183 .filler .thumbnail-wrapper {
188 .most-visited:focus:not(.filler) .thumbnail-wrapper,
189 .most-visited:hover .thumbnail-wrapper {
195 .most-visited:hover .thumbnail-wrapper {
[all …]
Dnew_tab_theme.css109 .most-visited:focus:not(.filler) .thumbnail-wrapper,
110 .most-visited:hover .thumbnail-wrapper {
120 .thumbnail-wrapper {
121 /* This shows through at the (rounded) thumbnail's corners. */
125 .filler .thumbnail {
129 .thumbnail-shield {
/external/webkit/Source/WebKit/qt/docs/webkitsnippets/webpage/
Dmain.cpp48 Thumbnailer thumbnail(QUrl("http://qt.nokia.com")); in main() local
50 QObject::connect(&thumbnail, SIGNAL(finished()), in main()
75 QImage thumbnail = image.scaled(400, 400); in render() local
76 thumbnail.save("thumbnail.png"); in render()
/external/chromium/chrome/browser/resources/file_manager/css/
Dfile_manager.css45 /* Container for the detail and thumbnail (not implemented yet) list views. */
100 button.thumbnail-view > img {
113 .thumbnail-grid {
121 /* An item in the thumbnail view. */
122 .thumbnail-item {
130 .thumbnail-item > input[type="checkbox"] {
136 .thumbnail-item > div.img-container {
145 .thumbnail-item > div.img-container > img {
150 .thumbnail-item > div.filename-label {
163 /* Text box used for renaming in the thumbnail list. */
[all …]
/external/chromium/chrome/browser/
Daeropeek_manager.h48 virtual bool GetTabThumbnail(int tab_id, SkBitmap* thumbnail) = 0;
134 virtual bool GetTabThumbnail(int tab_id, SkBitmap* thumbnail);
Daeropeek_manager.cc937 SkBitmap thumbnail;
938 delegate_->GetTabThumbnail(tab_id_, &thumbnail);
946 thumbnail,
1206 bool AeroPeekManager::GetTabThumbnail(int tab_id, SkBitmap* thumbnail) {
1207 DCHECK(thumbnail);
1217 *thumbnail = generator->GetThumbnailForRenderer(contents->render_view_host());
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator.cc448 SkBitmap thumbnail = GetThumbnailForRendererWithOptions( in UpdateThumbnailIfNecessary() local
451 if (thumbnail.isNull()) in UpdateThumbnailIfNecessary()
458 score.boring_score = ThumbnailGenerator::CalculateBoringScore(&thumbnail); in UpdateThumbnailIfNecessary()
463 top_sites->SetPageThumbnail(url, thumbnail, score); in UpdateThumbnailIfNecessary()
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm104 // A CALayer that draws a thumbnail for a TabContentsWrapper object. The layer
106 // requests a thumbnail bitmap from the TabContents's renderer process if not.
108 // The TabContentsWrapper the thumbnail is for.
111 // The size the thumbnail is drawn at when zoomed in.
114 // Used to load a thumbnail, if required.
117 // If the backing store couldn't be used and a thumbnail was returned from a
121 // True if the layer already sent a thumbnail request to a renderer.
132 // ThumbnailLoader talks to the renderer process to load a thumbnail of a given
133 // RenderWidgetHost, and sends the thumbnail back to a ThumbnailLayer once it
174 // thumbnails at the zoomed-out pixel size for all but the thumbnail the user
[all …]

12