thumbnails 39 chrome/browser/history/top_sites_backend.cc scoped_refptr<MostVisitedThumbnails> thumbnails = new MostVisitedThumbnails(); thumbnails 46 chrome/browser/history/top_sites_backend.cc thumbnails), thumbnails 47 chrome/browser/history/top_sites_backend.cc base::Bind(callback, thumbnails)); thumbnails 99 chrome/browser/history/top_sites_backend.cc scoped_refptr<MostVisitedThumbnails> thumbnails) { thumbnails 103 chrome/browser/history/top_sites_backend.cc db_->GetPageThumbnails(&(thumbnails->most_visited), thumbnails 104 chrome/browser/history/top_sites_backend.cc &(thumbnails->url_to_images_map)); thumbnails 75 chrome/browser/history/top_sites_backend.h scoped_refptr<MostVisitedThumbnails> thumbnails); thumbnails 438 chrome/browser/history/top_sites_database.cc URLToImagesMap* thumbnails) { thumbnails 451 chrome/browser/history/top_sites_database.cc thumbnails->clear(); thumbnails 477 chrome/browser/history/top_sites_database.cc (*thumbnails)[gurl] = thumbnail; thumbnails 40 chrome/browser/history/top_sites_database.h std::map<GURL, Images>* thumbnails); thumbnails 109 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 110 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 112 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(3u, thumbnails.size()); thumbnails 116 chrome/browser/history/top_sites_database_unittest.cc thumbnails[urls[0].url].thumbnail->size()); thumbnails 117 chrome/browser/history/top_sites_database_unittest.cc EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), thumbnails 121 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 123 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(2u, thumbnails.size()); thumbnails 136 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 137 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 139 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(3u, thumbnails.size()); thumbnails 143 chrome/browser/history/top_sites_database_unittest.cc thumbnails[urls[0].url].thumbnail->size()); thumbnails 144 chrome/browser/history/top_sites_database_unittest.cc EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), thumbnails 148 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 150 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(2u, thumbnails.size()); thumbnails 224 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 225 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 227 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(3u, thumbnails.size()); thumbnails 231 chrome/browser/history/top_sites_database_unittest.cc thumbnails[urls[0].url].thumbnail->size()); thumbnails 232 chrome/browser/history/top_sites_database_unittest.cc EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), thumbnails 269 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 270 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 272 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(3u, thumbnails.size()); thumbnails 276 chrome/browser/history/top_sites_database_unittest.cc thumbnails[urls[0].url].thumbnail->size()); thumbnails 277 chrome/browser/history/top_sites_database_unittest.cc EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), thumbnails 346 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 347 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 349 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(2u, thumbnails.size()); thumbnails 367 chrome/browser/history/top_sites_database_unittest.cc std::map<GURL, Images> thumbnails; thumbnails 368 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 370 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(4u, thumbnails.size()); thumbnails 380 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 382 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(5u, thumbnails.size()); thumbnails 393 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 395 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 405 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 407 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 417 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 419 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 429 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 431 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 440 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 442 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 451 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 453 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(6u, thumbnails.size()); thumbnails 462 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 464 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(5u, thumbnails.size()); thumbnails 472 chrome/browser/history/top_sites_database_unittest.cc db.GetPageThumbnails(&urls, &thumbnails); thumbnails 474 chrome/browser/history/top_sites_database_unittest.cc ASSERT_EQ(4u, thumbnails.size()); thumbnails 915 chrome/browser/history/top_sites_impl.cc const scoped_refptr<MostVisitedThumbnails>& thumbnails) { thumbnails 920 chrome/browser/history/top_sites_impl.cc cache_->SetTopSites(thumbnails->most_visited); thumbnails 921 chrome/browser/history/top_sites_impl.cc SetTopSites(thumbnails->most_visited); thumbnails 922 chrome/browser/history/top_sites_impl.cc cache_->SetThumbnails(thumbnails->url_to_images_map); thumbnails 216 chrome/browser/history/top_sites_impl.h const scoped_refptr<MostVisitedThumbnails>& thumbnails); thumbnails 25 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const thumbnails::ThumbnailingAlgorithm::ConsumerCallback& callback, thumbnails 26 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc scoped_refptr<thumbnails::ThumbnailingContext> context, thumbnails 52 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc ClipResult clipping_method = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 10 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h namespace thumbnails { thumbnails 34 chrome/browser/thumbnails/simple_thumbnail_crop.cc ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 157 chrome/browser/thumbnails/simple_thumbnail_crop.cc *clip_result = thumbnails::CLIP_RESULT_SOURCE_IS_SMALLER; thumbnails 168 chrome/browser/thumbnails/simple_thumbnail_crop.cc thumbnails::CLIP_RESULT_MUCH_WIDER_THAN_TALL : thumbnails 169 chrome/browser/thumbnails/simple_thumbnail_crop.cc thumbnails::CLIP_RESULT_WIDER_THAN_TALL; thumbnails 173 chrome/browser/thumbnails/simple_thumbnail_crop.cc *clip_result = thumbnails::CLIP_RESULT_TALLER_THAN_WIDE; thumbnails 176 chrome/browser/thumbnails/simple_thumbnail_crop.cc *clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 202 chrome/browser/thumbnails/simple_thumbnail_crop.cc if (*clip_result == thumbnails::CLIP_RESULT_UNPROCESSED) { thumbnails 10 chrome/browser/thumbnails/simple_thumbnail_crop.h namespace thumbnails { thumbnails 46 chrome/browser/thumbnails/simple_thumbnail_crop.h thumbnails::ClipResult* clip_result); thumbnails 22 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc using thumbnails::SimpleThumbnailCrop; thumbnails 68 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 75 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_TALLER_THAN_WIDE, clip_result); thumbnails 85 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 92 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_WIDER_THAN_TALL, clip_result); thumbnails 102 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 109 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_MUCH_WIDER_THAN_TALL, clip_result); thumbnails 119 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 126 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_NOT_CLIPPED, clip_result); thumbnails 136 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; thumbnails 143 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_TALLER_THAN_WIDE, clip_result); thumbnails 150 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc scoped_refptr<thumbnails::ThumbnailingAlgorithm> algorithm( thumbnails 155 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result = algorithm->GetCanvasCopyInfo( thumbnails 163 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_WIDER_THAN_TALL, clip_result); thumbnails 175 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_MUCH_WIDER_THAN_TALL, clip_result); thumbnails 187 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_TALLER_THAN_WIDE, clip_result); thumbnails 196 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_SOURCE_IS_SMALLER, clip_result); thumbnails 202 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc thumbnails::ClipResult clip_result; thumbnails 206 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_SOURCE_IS_SMALLER, clip_result); thumbnails 213 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_TALLER_THAN_WIDE, clip_result); thumbnails 220 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_TRUE(clip_result == thumbnails::CLIP_RESULT_WIDER_THAN_TALL || thumbnails 221 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc clip_result == thumbnails::CLIP_RESULT_MUCH_WIDER_THAN_TALL); thumbnails 229 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(thumbnails::CLIP_RESULT_NOT_CLIPPED, clip_result); thumbnails 18 chrome/browser/thumbnails/thumbnail_service.h namespace thumbnails { thumbnails 12 chrome/browser/thumbnails/thumbnail_service_factory.cc using thumbnails::ThumbnailService; thumbnails 13 chrome/browser/thumbnails/thumbnail_service_factory.cc using thumbnails::ThumbnailServiceImpl; thumbnails 14 chrome/browser/thumbnails/thumbnail_service_factory.h namespace thumbnails { thumbnails 28 chrome/browser/thumbnails/thumbnail_service_factory.h static scoped_refptr<thumbnails::ThumbnailService> GetForProfile( thumbnails 17 chrome/browser/thumbnails/thumbnail_service_impl.h namespace thumbnails { thumbnails 88 chrome/browser/thumbnails/thumbnail_service_unittest.cc scoped_refptr<thumbnails::ThumbnailService> thumbnail_service( thumbnails 89 chrome/browser/thumbnails/thumbnail_service_unittest.cc new thumbnails::ThumbnailServiceImpl(&profile)); thumbnails 49 chrome/browser/thumbnails/thumbnail_tab_helper.cc using thumbnails::ClipResult; thumbnails 50 chrome/browser/thumbnails/thumbnail_tab_helper.cc using thumbnails::ThumbnailingContext; thumbnails 51 chrome/browser/thumbnails/thumbnail_tab_helper.cc using thumbnails::ThumbnailingAlgorithm; thumbnails 204 chrome/browser/thumbnails/thumbnail_tab_helper.cc scoped_refptr<thumbnails::ThumbnailService> thumbnail_service = thumbnails 213 chrome/browser/thumbnails/thumbnail_tab_helper.cc scoped_refptr<thumbnails::ThumbnailingAlgorithm> algorithm( thumbnails 15 chrome/browser/thumbnails/thumbnailing_algorithm.h namespace thumbnails { thumbnails 15 chrome/browser/thumbnails/thumbnailing_context.h namespace thumbnails { thumbnails 22 chrome/browser/ui/webui/ntp/thumbnail_list_source.h namespace thumbnails { thumbnails 55 chrome/browser/ui/webui/ntp/thumbnail_list_source.h scoped_refptr<thumbnails::ThumbnailService> thumbnail_service_; thumbnails 20 chrome/browser/ui/webui/ntp/thumbnail_source.h namespace thumbnails { thumbnails 51 chrome/browser/ui/webui/ntp/thumbnail_source.h scoped_refptr<thumbnails::ThumbnailService> thumbnail_service_;