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

Side by Side Diff: chrome/browser/resources/http_auth.html

Issue 10873038: Replacing WebUIBindings use of CPPBoundClass with v8::Extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Using typeof == "function" Created 8 years 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <link rel="stylesheet" href="dialog.css"> 4 <link rel="stylesheet" href="dialog.css">
5 <style> 5 <style>
6 body { 6 body {
7 margin: 10px 10px 0 10px; 7 margin: 10px 10px 0 10px;
8 -webkit-user-select: none; 8 -webkit-user-select: none;
9 } 9 }
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 } 78 }
79 79
80 function setAutofillCredentials(username, password) { 80 function setAutofillCredentials(username, password) {
81 $('username').value = username; 81 $('username').value = username;
82 $('password').value = password; 82 $('password').value = password;
83 } 83 }
84 84
85 function load() { 85 function load() {
86 document.addEventListener('keydown', handleKeyDown); 86 document.addEventListener('keydown', handleKeyDown);
87 $('explanation').textContent = chrome.dialogArguments; 87 $('explanation').textContent = chrome.getVariableValue('dialogArguments');
88 $('form').onsubmit = handleSubmit; 88 $('form').onsubmit = handleSubmit;
89 $('cancel').onclick = cancel; 89 $('cancel').onclick = cancel;
90 90
91 chrome.send('GetAutofill', ['']); 91 chrome.send('GetAutofill', ['']);
92 } 92 }
93 93
94 document.addEventListener('DOMContentLoaded', load); 94 document.addEventListener('DOMContentLoaded', load);
95 </script> 95 </script>
96 </head> 96 </head>
97 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> 97 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
(...skipping 17 matching lines...) Expand all
115 </td> 115 </td>
116 </tr> 116 </tr>
117 </table> 117 </table>
118 <div id="buttons"> 118 <div id="buttons">
119 <input id="cancel" type="reset" i18n-values="value:cancel"> 119 <input id="cancel" type="reset" i18n-values="value:cancel">
120 <input id="login" type="submit" i18n-values="value:signin"> 120 <input id="login" type="submit" i18n-values="value:signin">
121 </div> 121 </div>
122 </form> 122 </form>
123 </body> 123 </body>
124 </html> 124 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/cloud_print/cloud_print_setup_flow.js ('k') | chrome/browser/resources/shared/js/cr.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698