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

Side by Side Diff: chrome/browser/resources/options/sync_setup_overlay.js

Issue 6974006: dom-ui sync: When hitting the 'Customize' button, retain 'keep everything sync'd state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « no previous file | 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('options', function() { 5 cr.define('options', function() {
6 const OptionsPage = options.OptionsPage; 6 const OptionsPage = options.OptionsPage;
7 7
8 // Variable to track if a captcha challenge was issued. If this gets set to 8 // Variable to track if a captcha challenge was issued. If this gets set to
9 // true, it stays that way until we are told about successful login from 9 // true, it stays that way until we are told about successful login from
10 // the browser. This means subsequent errors (like invalid password) are 10 // the browser. This means subsequent errors (like invalid password) are
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return false; 63 return false;
64 }; 64 };
65 $('google-option').onchange = $('explicit-option').onchange = function() { 65 $('google-option').onchange = $('explicit-option').onchange = function() {
66 self.onRadioChange_(); 66 self.onRadioChange_();
67 }; 67 };
68 $('choose-datatypes-cancel').onclick = $('sync-setup-cancel').onclick = 68 $('choose-datatypes-cancel').onclick = $('sync-setup-cancel').onclick =
69 $('confirm-everything-cancel').onclick = function() { 69 $('confirm-everything-cancel').onclick = function() {
70 self.closeOverlay_(); 70 self.closeOverlay_();
71 }; 71 };
72 $('customize-link').onclick = function() { 72 $('customize-link').onclick = function() {
73 self.showCustomizePage_(false); 73 self.showCustomizePage_(true);
74 }; 74 };
75 $('confirm-everything-ok').onclick = function() { 75 $('confirm-everything-ok').onclick = function() {
76 self.sendConfiguration_(); 76 self.sendConfiguration_();
77 }; 77 };
78 $('use-default-link').onclick = function() { 78 $('use-default-link').onclick = function() {
79 self.showSyncEverythingPage_(); 79 self.showSyncEverythingPage_();
80 }; 80 };
81 $('cancel-no-button').onclick = function() { 81 $('cancel-no-button').onclick = function() {
82 self.hideCancelWarning_(); 82 self.hideCancelWarning_();
83 return false; 83 return false;
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 668
669 SyncSetupOverlay.showSuccessAndSettingUp = function() { 669 SyncSetupOverlay.showSuccessAndSettingUp = function() {
670 SyncSetupOverlay.getInstance().showSuccessAndSettingUp_(); 670 SyncSetupOverlay.getInstance().showSuccessAndSettingUp_();
671 }; 671 };
672 672
673 // Export 673 // Export
674 return { 674 return {
675 SyncSetupOverlay: SyncSetupOverlay 675 SyncSetupOverlay: SyncSetupOverlay
676 }; 676 };
677 }); 677 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698