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

Unified Diff: chrome/common/extensions/api/downloads.idl

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 | « chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/downloads.idl
diff --git a/chrome/common/extensions/api/downloads.idl b/chrome/common/extensions/api/downloads.idl
index 4b8f5b0f3ecb21c03c025f91e45c8b29e19f4bef..38a85bd4f3706ba511028983e80ec985e2e4ba4d 100644
--- a/chrome/common/extensions/api/downloads.idl
+++ b/chrome/common/extensions/api/downloads.idl
@@ -380,8 +380,10 @@ namespace downloads {
};
[inline_doc] dictionary GetFileIconOptions {
- // The size of the icon. The returned icon will be square with dimensions
- // size * size pixels. The default size for the icon is 32x32 pixels.
+ // The size of the returned icon. The icon will be square with dimensions
+ // size * size pixels. The default and largest size for the icon is 32x32
+ // pixels. The only supported sizes are 16 and 32. It is an error to specify
+ // any other size.
[legalValues=(16,32)] long? size;
};
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698