diff options
author | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-10 23:02:08 +0000 |
---|---|---|
committer | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-10 23:02:08 +0000 |
commit | 62167c1b6c2777d451f4b92eef4e5ddabdbbfce4 (patch) | |
tree | 28a9356095ae97fcfbc2d71e1f3a89c8eff6bf56 /chrome/chrome_nibs.gypi | |
parent | 28b05ef0bb80c9d2598585fd9d623432620252a0 (diff) | |
download | chromium_src-62167c1b6c2777d451f4b92eef4e5ddabdbbfce4.zip chromium_src-62167c1b6c2777d451f4b92eef4e5ddabdbbfce4.tar.gz chromium_src-62167c1b6c2777d451f4b92eef4e5ddabdbbfce4.tar.bz2 |
Create a content setting for the multiple automatic downloads infobar
Clicking Allow on the infobar sets the content setting for that origin (protocol+host) to ALLOW; Deny sets it to BLOCK.
Blocked/Allowed origins may be changed/cleared in chrome://settings > Show Advanced Settings > Privacy > Content Settings > Multiple Automatic Downloads
Closing the infobar without clicking Allow or Deny cancels all pending automatic downloads without setting the content setting to BLOCK.
Origins that are set to BLOCK are allowed one automatic download then no more, and the infobar is not shown. A button+label does appear in the location bar reading "Download blocked"; clicking on this button opens a popup containing radio buttons and link to chrome://settings/contentExceptions
The default value of the content setting can be changed from ASK (which triggers the infobar) to ALLOW or BLOCK in chrome://settings/content
Test url (Google-only): http://www/~benjhayden/multi.html
BUG=166335
Review URL: https://chromiumcodereview.appspot.com/12476007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_nibs.gypi')
-rw-r--r-- | chrome/chrome_nibs.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_nibs.gypi b/chrome/chrome_nibs.gypi index e769aa4..a238f80 100644 --- a/chrome/chrome_nibs.gypi +++ b/chrome/chrome_nibs.gypi @@ -18,6 +18,7 @@ 'app/nibs/ChromeToMobileBubble.xib', 'app/nibs/CollectedCookies.xib', 'app/nibs/ContentBlockedCookies.xib', + 'app/nibs/ContentBlockedDownloads.xib', 'app/nibs/ContentBlockedMedia.xib', 'app/nibs/ContentBlockedMixedScript.xib', 'app/nibs/ContentBlockedPlugins.xib', |