diff options
author | sverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 15:49:33 +0000 |
---|---|---|
committer | sverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 15:49:33 +0000 |
commit | 0fda727e08d2f785ce127fba39c4ce69955fa934 (patch) | |
tree | d4001d93587a35d618b9ee871dfb382dfc9ae852 /chrome/browser/extensions/extensions_ui.h | |
parent | ed42bc2f22755d2864056cb03fc2ef17793ba9f0 (diff) | |
download | chromium_src-0fda727e08d2f785ce127fba39c4ce69955fa934.zip chromium_src-0fda727e08d2f785ce127fba39c4ce69955fa934.tar.gz chromium_src-0fda727e08d2f785ce127fba39c4ce69955fa934.tar.bz2 |
Restrict how often javascript can annoy the user with the print dialog. If a page continuously calls print() through javascript and the user cancels the printing no other printer dialog will be shown for 15 seconds.
Also removed "Print failed" notification when the user cancels printing (since this should be obvious to the user).
BUG=http://crbug.com/7880
TEST=See bug.
Review URL: http://codereview.chromium.org/146052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
0 files changed, 0 insertions, 0 deletions