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

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

Issue 3026007: Revert 52902 - Add getUserInfo, getRegistrationUrl message callback for regis... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
« 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>
32 </head> 6 </head>
33 <body> 7 <body>
34 <!-- TODO(nkostylev): Redirect to cros://register/[success|skipped]. --> 8 <!-- TODO(nkostylev): Redirect to cros://register/[success|skipped]. -->
35 <!-- TODO(nkostylev): Add an iframe with an actual registration page. --> 9 <!-- TODO(nkostylev): Add an iframe with an actual registration page. -->
36 </body> 10 </body>
37 </html> 11 </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