Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4380)

Unified Diff: chrome/browser/download/download_file_icon_extractor.h

Issue 137043005: Fix chrome.downloads.getFileIcon for hi-dpi and clarify docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/downloads/downloads_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_file_icon_extractor.h
diff --git a/chrome/browser/download/download_file_icon_extractor.h b/chrome/browser/download/download_file_icon_extractor.h
index f7aa7cf5d73562f6b5ec1c051b85cffe83e0ffa4..454790a23c9a5086cd6963944b53196ff7af7255 100644
--- a/chrome/browser/download/download_file_icon_extractor.h
+++ b/chrome/browser/download/download_file_icon_extractor.h
@@ -25,6 +25,7 @@ class DownloadFileIconExtractor {
// Should return false if the request was invalid. If the return value is
// true, then |callback| should be called with the result.
virtual bool ExtractIconURLForPath(const base::FilePath& path,
+ float scale,
IconLoader::IconSize icon_size,
IconURLCallback callback) = 0;
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/downloads/downloads_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698