summaryrefslogtreecommitdiffstats
path: root/chrome/browser/login_prompt_win.cc
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 18:16:52 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 18:16:52 +0000
commitc6a5d82465a2039714fb346fa91d5a3ea77fed2f (patch)
treefdb4e7b26ca859b8949413505ea6db08dcfbf098 /chrome/browser/login_prompt_win.cc
parent2a7a3f2cd5da2eca0944341d55fee1d7b899a181 (diff)
downloadchromium_src-c6a5d82465a2039714fb346fa91d5a3ea77fed2f.zip
chromium_src-c6a5d82465a2039714fb346fa91d5a3ea77fed2f.tar.gz
chromium_src-c6a5d82465a2039714fb346fa91d5a3ea77fed2f.tar.bz2
Make repost form warning tab-modal on Windows.
Also, add a type ConstrainedDialogDelegate that is used for constrained windows that show a dialog. In a future CL, Mac and Gtk will be changed to use that type. BUG=26271 TEST=Go to http://www.cs.unc.edu/~jbs/resources/perl/perl-cgi/programs/form1-POST.html, hit Submit, then refresh. The warning sheet should be tab-modal, not window-modal. Opening a login form (which is also tab-modal) while the warning is shown should not crash, neither should hitting the reload button again, or bringing up the warning while a login form is shown. Review URL: http://codereview.chromium.org/1138009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/login_prompt_win.cc')
-rw-r--r--chrome/browser/login_prompt_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/login_prompt_win.cc b/chrome/browser/login_prompt_win.cc
index c059657..13e1664 100644
--- a/chrome/browser/login_prompt_win.cc
+++ b/chrome/browser/login_prompt_win.cc
@@ -29,7 +29,7 @@ using webkit_glue::PasswordForm;
// This class uses ref counting to ensure that it lives until all InvokeLaters
// have been called.
class LoginHandlerWin : public LoginHandler,
- public views::DialogDelegate {
+ public ConstrainedDialogDelegate {
public:
explicit LoginHandlerWin(URLRequest* request) : LoginHandler(request) {
}