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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/register_page_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/host_registration_page.html
===================================================================
--- chrome/browser/resources/host_registration_page.html (revision 52903)
+++ chrome/browser/resources/host_registration_page.html (working copy)
@@ -3,32 +3,6 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Register your computer with Google</title>
-<script>
-
-document.addEventListener('DOMContentLoaded', load);
-
-function load() {
- chrome.send('getRegistrationUrl', []);
-}
-
-function $(o) {
- return document.getElementById(o);
-}
-
-function setRegistrationUrl(url) {
- // TODO(nkostylev): Load URL in iframe.
-}
-
-// Called when document has been loaded in an iframe.
-function onFormLoaded() {
- chrome.send('getUserInfo', []);
-}
-
-function setUserInfo(data) {
- // TODO(nkostylev): Pass system/user data to registration iframe.
-}
-
-</script>
</head>
<body>
<!-- TODO(nkostylev): Redirect to cros://register/[success|skipped]. -->
« 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