/external/chromium_org/chrome/browser/ |
H A D | icon_loader.cc | 13 IconLoader::IconLoader(const base::FilePath& file_path, function in class:IconLoader 21 IconLoader::~IconLoader() { 24 void IconLoader::Start() { 28 base::Bind(&IconLoader::ReadGroup, this), 29 base::Bind(&IconLoader::OnReadGroup, this)); 32 void IconLoader::ReadGroup() { 36 void IconLoader::OnReadGroup() { 40 base::Bind(&IconLoader [all...] |
H A D | icon_loader_android.cc | 9 IconGroupID IconLoader::ReadGroupIDFromFilepath( 15 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { 20 content::BrowserThread::ID IconLoader::ReadIconThreadID() { 25 void IconLoader::ReadIcon() {
|
H A D | icon_loader_auralinux.cc | 13 IconGroupID IconLoader::ReadGroupIDFromFilepath( 19 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { 24 content::BrowserThread::ID IconLoader::ReadIconThreadID() { 30 void IconLoader::ReadIcon() { 33 case IconLoader::SMALL: 36 case IconLoader::NORMAL: 39 case IconLoader::LARGE: 54 FROM_HERE, base::Bind(&IconLoader::NotifyDelegate, this));
|
H A D | icon_manager.h | 55 class IconManager : public IconLoader::Delegate { 66 IconLoader::IconSize size); 82 IconLoader::IconSize size, 86 // IconLoader::Delegate interface. 87 virtual bool OnGroupLoaded(IconLoader* loader, 89 virtual bool OnImageLoaded(IconLoader* loader, 95 CacheKey(const IconGroupID& group, IconLoader::IconSize size); 101 IconLoader::IconSize size; 105 IconLoader::IconSize size); 115 typedef std::map<IconLoader*, ClientReques [all...] |
H A D | icon_loader.h | 35 class IconLoader : public base::RefCountedThreadSafe<IconLoader> { class in inherits:base::RefCountedThreadSafe 49 virtual bool OnGroupLoaded(IconLoader* source, 51 // Invoked when an icon has been read. |source| is the IconLoader. If the 54 virtual bool OnImageLoaded(IconLoader* source, 62 IconLoader(const base::FilePath& file_path, 70 friend class base::RefCountedThreadSafe<IconLoader>; 72 virtual ~IconLoader(); 103 DISALLOW_COPY_AND_ASSIGN(IconLoader);
|
H A D | icon_loader_win.cc | 20 IconGroupID IconLoader::ReadGroupIDFromFilepath( 28 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath& filepath) { 35 content::BrowserThread::ID IconLoader::ReadIconThreadID() { 39 void IconLoader::ReadIcon() { 42 case IconLoader::SMALL: 45 case IconLoader::NORMAL: 48 case IconLoader::LARGE: 74 base::Bind(&IconLoader::NotifyDelegate, this));
|
H A D | icon_loader_chromeos.cc | 48 int Lookup(const std::string& extension, IconLoader::IconSize icon_size); 134 IconLoader::IconSize icon_size) { 135 DCHECK(icon_size == IconLoader::SMALL || 136 icon_size == IconLoader::NORMAL || 137 icon_size == IconLoader::LARGE); 143 case IconLoader::SMALL: idr = idrbysize.idr_small; break; 144 case IconLoader::NORMAL: idr = idrbysize.idr_normal; break; 145 case IconLoader::LARGE: idr = idrbysize.idr_large; break; 146 case IconLoader::ALL: 167 int IconSizeToDIPSize(IconLoader [all...] |
H A D | icon_manager.cc | 30 IconLoader::IconSize size; 41 IconLoader::IconSize size) { 50 IconLoader::IconSize size) { 60 IconLoader::IconSize size, 63 IconLoader* loader = new IconLoader(file_name, size, this); 78 // IconLoader::Delegate implementation ----------------------------------------- 80 bool IconManager::OnGroupLoaded(IconLoader* loader, 97 IconLoader* loader, gfx::Image* result, const IconGroupID& group) { 139 IconLoader [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | fileicon_source_unittest.cc | 26 IconLoader::IconSize icon_size, 52 IconLoader::IconSize size; 54 { "foo?bar", FILE_PATH_LITERAL("foo"), 1.0f, IconLoader::NORMAL }, 55 { "foo?bar&scale=2x", FILE_PATH_LITERAL("foo"), 2.0f, IconLoader::NORMAL }, 56 { "foo?iconsize=small", FILE_PATH_LITERAL("foo"), 1.0f, IconLoader::SMALL }, 57 { "foo?iconsize=normal", FILE_PATH_LITERAL("foo"), 1.0f, IconLoader::NORMAL }, 58 { "foo?iconsize=large", FILE_PATH_LITERAL("foo"), 1.0f, IconLoader::LARGE }, 59 { "foo?iconsize=asdf", FILE_PATH_LITERAL("foo"), 1.0f, IconLoader::NORMAL }, 61 IconLoader::SMALL }, 63 IconLoader [all...] |
H A D | fileicon_source.cc | 26 typedef std::map<std::string, IconLoader::IconSize> QueryIconSizeMap; 54 IconLoader::IconSize SizeStringToIconSize(const std::string& size_string) { 55 if (size_string == "small") return IconLoader::SMALL; 56 if (size_string == "large") return IconLoader::LARGE; 59 return IconLoader::NORMAL; 65 IconLoader::IconSize* icon_size) { 69 *icon_size = IconLoader::NORMAL; 97 IconLoader::IconSize icon_size, 136 IconLoader::IconSize icon_size;
|
H A D | fileicon_source.h | 43 IconLoader::IconSize icon_size,
|
H A D | downloads_dom_handler.cc | 390 file->GetTargetFilePath(), IconLoader::NORMAL);
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_file_icon_extractor.h | 29 IconLoader::IconSize icon_size,
|
/external/chromium_org/ui/app_list/views/ |
H A D | app_list_main_view.h | 81 class IconLoader; 96 // Invoked from an IconLoader when icon loading is finished. 97 void OnItemIconLoaded(IconLoader* loader); 126 ScopedVector<IconLoader> pending_icon_loaders_;
|
H A D | app_list_main_view.cc | 74 // AppListMainView::IconLoader 76 class AppListMainView::IconLoader : public AppListItemObserver { class in class:app_list::AppListMainView 78 IconLoader(AppListMainView* owner, function in class:app_list::AppListMainView::IconLoader 89 virtual ~IconLoader() { 97 // Note that IconLoader is released here. 103 DISALLOW_COPY_AND_ASSIGN(IconLoader); 274 pending_icon_loaders_.push_back(new IconLoader(this, item, scale_factor)); 282 void AppListMainView::OnItemIconLoaded(IconLoader* loader) { 283 ScopedVector<IconLoader>::iterator it = std::find(
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_data.cc | 87 // KioskAppData::IconLoader 90 class KioskAppData::IconLoader : public ImageDecoder::Delegate { class in class:chromeos::KioskAppData 98 IconLoader(const base::WeakPtr<KioskAppData>& client, function in class:chromeos::KioskAppData::IconLoader 111 base::Bind(&IconLoader::LoadOnBlockingPool, 116 friend class base::RefCountedThreadSafe<IconLoader>; 118 virtual ~IconLoader() {} 143 base::Bind(&IconLoader::ReportResultOnUIThread, 185 DISALLOW_COPY_AND_ASSIGN(IconLoader); 363 // IconLoader deletes itself when done. 364 (new IconLoader(AsWeakPt [all...] |
H A D | kiosk_app_data.h | 80 class IconLoader; 100 // Callbacks for IconLoader.
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
H A D | downloads_api.cc | 304 IconLoader::IconSize icon_size, 316 IconLoader::IconSize icon_size, 337 IconLoader::IconSize IconLoaderSizeFromPixelSize(int pixel_size) { 339 case 16: return IconLoader::SMALL; 340 case 32: return IconLoader::NORMAL; 343 return IconLoader::NORMAL; 1426 download_item->GetTargetFilePath(), IconLoader::NORMAL);
|
H A D | downloads_api_browsertest.cc | 614 IconLoader::IconSize icon_size, 624 IconLoader::IconSize icon_size, 649 IconLoader::IconSize expected_icon_size_; 951 IconLoader::IconSize icon_size, 975 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), 980 download_item->GetTargetFilePath(), IconLoader::SMALL, "foo"), 986 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), 993 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), 998 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), 1015 download_item->GetTargetFilePath(), IconLoader [all...] |
/external/chromium_org/chrome/browser/ui/views/download/ |
H A D | download_item_view.cc | 441 download()->GetTargetFilePath(), IconLoader::SMALL); 851 download()->GetTargetFilePath(), IconLoader::SMALL); 976 IconLoader::SMALL,
|