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

Unified Diff: chrome/browser/resources/sync_setup_overlay.js

Issue 10539128: Set timeout in sync setup (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove a needless empty line Created 8 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
Index: chrome/browser/resources/sync_setup_overlay.js
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
index 6e36e6cd05d31921c8ee398feb24aec3cb7bea9c..1839ca3b97fcea22627f9a4c119b49f893e61d71 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -56,6 +56,7 @@ cr.define('options', function() {
};
$('choose-datatypes-cancel').onclick =
$('sync-setup-cancel').onclick =
+ $('timeout-ok').onclick =
$('confirm-everything-cancel').onclick =
$('stop-syncing-cancel').onclick =
$('sync-spinner-cancel').onclick = function() {
@@ -416,6 +417,11 @@ cr.define('options', function() {
this.setThrobbersVisible_(true);
},
+ showTimeOutPage_: function() {
+ this.resetPage_('sync-setup-timeout');
+ $('sync-setup-timeout').hidden = false;
+ },
+
showSyncEverythingPage_: function() {
$('confirm-sync-preferences').hidden = false;
$('customize-sync-preferences').hidden = true;
@@ -544,6 +550,8 @@ cr.define('options', function() {
this.showConfigure_(args);
else if (page == 'spinner')
this.showSpinner_();
+ else if (page == 'timeout')
+ this.showTimeOutPage_();
},
/**

Powered by Google App Engine
This is Rietveld 408576698