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

Unified Diff: chrome/browser/sync/resources/setup_flow.html

Issue 2878012: Revert 50902 - New HTML Sync Setup UI.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/450/src/
Patch Set: Created 10 years, 6 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/sync/resources/gaia_login.html ('k') | chrome/browser/sync/sync_setup_flow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/resources/setup_flow.html
===================================================================
--- chrome/browser/sync/resources/setup_flow.html (revision 51166)
+++ chrome/browser/sync/resources/setup_flow.html (working copy)
@@ -1,38 +1,16 @@
<html id='t'>
<head>
<title></title>
-<script type="text/javascript">
-
- // Called once, when this html/js is loaded.
- function showTheRightIframe() {
- hideAllPages();
- var args = JSON.parse(chrome.dialogArguments);
- document.getElementById(args.iframeToShow).style.display = 'block';
- }
-
- function hideAllPages() {
- document.getElementById('login').style.display = 'none';
- document.getElementById('choose_data_types').style.display = 'none';
- document.getElementById('done').style.display = 'none';
- }
-
- function showChooseDataTypes() {
- hideAllPages();
- document.getElementById('choose_data_types').style.display = 'block';
- }
-
+<script>
function showSetupDone() {
- hideAllPages();
+ document.getElementById('login').style.display = 'none';
document.getElementById('done').style.display = 'block';
}
</script>
</head>
-<body style="margin:0; border:0;" onload="showTheRightIframe();">
+<body style="margin:0; border:0;">
<iframe id="login" frameborder="0" width="100%" scrolling="no" height="100%"
- src="chrome://syncresources/gaialogin" style="display:none"></iframe>
- <iframe id="choose_data_types" frameborder="0" width="100%" scrolling="no"
- height="100%" src="chrome://syncresources/choosedatatypes"
- style="display:none"></iframe>
+ src="chrome://syncresources/gaialogin"></iframe>
<iframe id="done" frameborder="0" width="100%" scrolling="no" height="100%"
src="chrome://syncresources/setupdone" style="display:none"></iframe>
</body>
« no previous file with comments | « chrome/browser/sync/resources/gaia_login.html ('k') | chrome/browser/sync/sync_setup_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698