Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: chrome/browser/resources/http_auth.html

Issue 7828065: chromeos: Add WebUI implementation of form repost dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge. again. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/dialog.css ('k') | chrome/browser/resources/repost_form_warning.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/http_auth.html
diff --git a/chrome/browser/resources/http_auth.html b/chrome/browser/resources/http_auth.html
index 7c72260f43fa4a951b5857e02304f1fdb1034482..58daf191519e672360dc73a3966126db0bc4a660 100644
--- a/chrome/browser/resources/http_auth.html
+++ b/chrome/browser/resources/http_auth.html
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html i18n-values="dir:textdirection">
<head>
- <style type="text/css">
+ <link rel="stylesheet" href="dialog.css">
+ <style>
body {
margin: 10px 10px 0 10px;
-webkit-user-select: none;
@@ -86,7 +87,6 @@
$('explanation').textContent = chrome.dialogArguments;
$('form').onsubmit = handleSubmit;
$('cancel').onclick = cancel;
- $('username').focus();
chrome.send('GetAutofill', ['']);
}
@@ -103,7 +103,7 @@
<label for="username" i18n-content="username"></label>
</td>
<td>
- <input id="username" type="text">
+ <input id="username" type="text" autofocus>
</td>
</tr>
<tr>
@@ -116,7 +116,7 @@
</tr>
</table>
<div id="buttons">
- <input id="cancel" type="button" i18n-values="value:cancel">
+ <input id="cancel" type="reset" i18n-values="value:cancel">
<input id="login" type="submit" i18n-values="value:signin">
</div>
</form>
« no previous file with comments | « chrome/browser/resources/dialog.css ('k') | chrome/browser/resources/repost_form_warning.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698