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 865bcd9f669b260beb09ae8ad5b568f833ad7a5d..d2feb8bc35b80e2cd24d321b0c56b2fd981aac25 100644 |
--- a/chrome/browser/resources/sync_setup_overlay.js |
+++ b/chrome/browser/resources/sync_setup_overlay.js |
@@ -64,6 +64,10 @@ cr.define('options', function() { |
$('confirm-everything-ok').onclick = function() { |
self.sendConfiguration_(); |
}; |
+ $('timeout-ok').onclick = function() { |
+ chrome.send('CloseTimeout'); |
+ self.closeOverlay_(); |
+ }; |
$('stop-syncing-ok').onclick = function() { |
chrome.send('SyncSetupStopSyncing'); |
self.closeOverlay_(); |
@@ -416,6 +420,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 +553,8 @@ cr.define('options', function() { |
this.showConfigure_(args); |
else if (page == 'spinner') |
this.showSpinner_(); |
+ else if (page == 'timeout') |
+ this.showTimeoutPage_(); |
}, |
/** |