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

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

Issue 3044001: Register getUserInfo message callback for register screen. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: - test changes Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/dom_ui/register_page_ui.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html id="t"> 2 <html id="t">
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Register your computer with Google</title> 5 <title>Register your computer with Google</title>
6 <script>
7
8 document.addEventListener('DOMContentLoaded', load);
9
10 function load() {
11 chrome.send('getRegistrationUrl', []);
12 }
13
14 function $(o) {
15 return document.getElementById(o);
16 }
17
18 function setRegistrationUrl(url) {
19 // TODO(nkostylev): Load URL in iframe.
20 }
21
22 // Called when document has been loaded in an iframe.
23 function onFormLoaded() {
24 chrome.send('getUserInfo', []);
25 }
26
27 function setUserInfo(data) {
28 // TODO(nkostylev): Pass system/user data to registration iframe.
29 }
30
31 </script>
6 </head> 32 </head>
7 <body> 33 <body>
8 <!-- TODO(nkostylev): Redirect to cros://register/[success|skipped]. --> 34 <!-- TODO(nkostylev): Redirect to cros://register/[success|skipped]. -->
9 <!-- TODO(nkostylev): Add an iframe with an actual registration page. --> 35 <!-- TODO(nkostylev): Add an iframe with an actual registration page. -->
10 </body> 36 </body>
11 </html> 37 </html>
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/register_page_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698