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

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

Issue 1608103002: Settings Rewrite: Fix Opening Sync User login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 var Page = cr.ui.pageManager.Page; 6 var Page = cr.ui.pageManager.Page;
7 var PageManager = cr.ui.pageManager.PageManager; 7 var PageManager = cr.ui.pageManager.PageManager;
8 var ArrayDataModel = cr.ui.ArrayDataModel; 8 var ArrayDataModel = cr.ui.ArrayDataModel;
9 9
10 /** 10 /**
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }; 88 };
89 89
90 $('create-profile-supervised-signed-in-learn-more-link').onclick = 90 $('create-profile-supervised-signed-in-learn-more-link').onclick =
91 function(event) { 91 function(event) {
92 PageManager.showPageByName('supervisedUserLearnMore'); 92 PageManager.showPageByName('supervisedUserLearnMore');
93 return false; 93 return false;
94 }; 94 };
95 95
96 $('create-profile-supervised-sign-in-link').onclick = 96 $('create-profile-supervised-sign-in-link').onclick =
97 function(event) { 97 function(event) {
98 SyncSetupOverlay.startSignIn('access-point-supervised-user'); 98 SyncSetupOverlay.startSignIn(true /* creatingSupervisedUser */);
99 }; 99 };
100 100
101 $('create-profile-supervised-sign-in-again-link').onclick = 101 $('create-profile-supervised-sign-in-again-link').onclick =
102 function(event) { 102 function(event) {
103 SyncSetupOverlay.showSetupUI(); 103 SyncSetupOverlay.showSetupUI();
104 }; 104 };
105 105
106 $('import-existing-supervised-user-link').onclick = function(event) { 106 $('import-existing-supervised-user-link').onclick = function(event) {
107 // Hide the import button to trigger a cursor update. The import button 107 // Hide the import button to trigger a cursor update. The import button
108 // is shown again when the import overlay loads. TODO(akuegel): Remove 108 // is shown again when the import overlay loads. TODO(akuegel): Remove
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 'updateSignedInStatus', 879 'updateSignedInStatus',
880 'updateSupervisedUsersAllowed', 880 'updateSupervisedUsersAllowed',
881 ]); 881 ]);
882 882
883 // Export 883 // Export
884 return { 884 return {
885 ManageProfileOverlay: ManageProfileOverlay, 885 ManageProfileOverlay: ManageProfileOverlay,
886 CreateProfileOverlay: CreateProfileOverlay, 886 CreateProfileOverlay: CreateProfileOverlay,
887 }; 887 };
888 }); 888 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/options/sync_setup_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698