diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 18:07:02 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 18:07:02 +0000 |
commit | 4cdac10757c9a774c3defdaf705f0d8c99290d19 (patch) | |
tree | d175d1d492401a5b96f3880df45c603fe05aee8a /chrome/views | |
parent | 09da32d543461c90fcf3490966e0c4a670b9a2a8 (diff) | |
download | chromium_src-4cdac10757c9a774c3defdaf705f0d8c99290d19.zip chromium_src-4cdac10757c9a774c3defdaf705f0d8c99290d19.tar.gz chromium_src-4cdac10757c9a774c3defdaf705f0d8c99290d19.tar.bz2 |
Adds the anti-carpet bombing dialog. More specifically a new
EventHandler now exists between the buffered event handler and
download event handler. This new event handler asks the
DownloadRequestManager whether the download is allowed. This may
prompt the user and then the download continues or is canceled. The
DownloadRequestManager receives the request on the IO thread, forwards
to the UI thread, makes the decision, then notifies back on the IO
thread.
BUG=3422
TEST=make sure you don't see any problems downloading content.
Review URL: http://codereview.chromium.org/7479
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/message_box_view.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/views/message_box_view.h b/chrome/views/message_box_view.h index ad9a8fd..a15fa89 100644 --- a/chrome/views/message_box_view.h +++ b/chrome/views/message_box_view.h @@ -14,8 +14,9 @@ #include "chrome/views/text_field.h" #include "chrome/views/view.h" -// This class displays a message box within a constrained window -// with options for a message, a prompt, and OK and Cancel buttons. +// This class displays the contents of a message box. It is intended for use +// within a constrained window, and has options for a message, prompt, OK +// and Cancel buttons. class MessageBoxView : public views::View { public: // flags |