summaryrefslogtreecommitdiffstats
path: root/WATCHLISTS
diff options
context:
space:
mode:
authorbenjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-03 21:57:57 +0000
committerbenjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-03 21:57:57 +0000
commit12188afff126b98305fc7fbd8e6dddb150b25e71 (patch)
treec6ae639cf1e51167fc03ff6421d15b8cee928105 /WATCHLISTS
parent861ec93ff39ca21ad51e0fff793e392442a3f013 (diff)
downloadchromium_src-12188afff126b98305fc7fbd8e6dddb150b25e71.zip
chromium_src-12188afff126b98305fc7fbd8e6dddb150b25e71.tar.gz
chromium_src-12188afff126b98305fc7fbd8e6dddb150b25e71.tar.bz2
Implement chrome.downloads.onDeterminingFilename() to allow extensions to participate in the download filename determination process.
Docs staged: http://basho.cam.corp.google.com:8000/extensions/downloads.html#event-onDeterminingFilename Example: chrome.downloads.onDeterminingFilename.addListener(function(item, suggest) { suggest({filename: item.filename, overwrite: true}); }); chrome.downloads.onDeterminingFilename.addListener(function(item, suggest) { window.setTimeout(function() { suggest({filename: item.mime.split('/')[0] + '/' + item.filename, overwrite: false}); }, 1); return true; // handling asynchronously }); BUG=12133 BUG=68108 Review URL: https://chromiumcodereview.appspot.com/11574006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'WATCHLISTS')
-rw-r--r--WATCHLISTS2
1 files changed, 1 insertions, 1 deletions
diff --git a/WATCHLISTS b/WATCHLISTS
index 00e5ef3..15b1a3e 100644
--- a/WATCHLISTS
+++ b/WATCHLISTS
@@ -192,7 +192,7 @@
},
'downloads_ext': {
'filepath': 'chrome/browser/extensions/api/downloads/|'\
- 'chrome/common/extensions/api/downloads.idl',
+ 'chrome/common/extensions/api/downloads.*.idl',
},
'downloads_ui': {
'filepath': 'chrome/browser/resources/downloads/|' \