diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-24 00:43:05 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-24 00:43:05 +0000 |
commit | 0c2ef0bb6baff17c561852368a7c7eeee8369798 (patch) | |
tree | 4aed3411c72af3d68674d007d5b3eb1f1c94ce66 /chrome/browser/ui/login | |
parent | 7c292a05089e19b56e342e11d21f263cbcf4567c (diff) | |
download | chromium_src-0c2ef0bb6baff17c561852368a7c7eeee8369798.zip chromium_src-0c2ef0bb6baff17c561852368a7c7eeee8369798.tar.gz chromium_src-0c2ef0bb6baff17c561852368a7c7eeee8369798.tar.bz2 |
chromeos: Make WebUI auth dialog handle Enter and Escape.
This adds a form to the HTTP auth dialog to make Enter work
and adds a handler to listen for Escape. It also improves
many small aspects of the dialog's appearance (more padding
around the edges and between items; narrower, centered input
fields; disabled text selection; <label> tags).
BUG=chromium:89833
TEST=manual: went to a page requiring auth; confirmed that enter submits and escape cancels, and that clicking the buttons still works too
Review URL: http://codereview.chromium.org/7709013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/login')
-rw-r--r-- | chrome/browser/ui/login/login_prompt_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/login/login_prompt_ui.cc b/chrome/browser/ui/login/login_prompt_ui.cc index fb9b493..1064a71 100644 --- a/chrome/browser/ui/login/login_prompt_ui.cc +++ b/chrome/browser/ui/login/login_prompt_ui.cc @@ -150,7 +150,7 @@ class LoginHandlerHtmlDelegate : public HtmlDialogUIDelegate, std::string autofill_password_; static const int kDialogWidth = 400; - static const int kDialogHeight = 130; + static const int kDialogHeight = 160; DISALLOW_COPY_AND_ASSIGN(LoginHandlerHtmlDelegate); }; |