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

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

Issue 1473543002: Implement newly designed sign-in related histograms for desktop platorms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years 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(); 98 SyncSetupOverlay.startSignIn('access-point-supervised-user');
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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 'updateSignedInStatus', 861 'updateSignedInStatus',
862 'updateSupervisedUsersAllowed', 862 'updateSupervisedUsersAllowed',
863 ]); 863 ]);
864 864
865 // Export 865 // Export
866 return { 866 return {
867 ManageProfileOverlay: ManageProfileOverlay, 867 ManageProfileOverlay: ManageProfileOverlay,
868 CreateProfileOverlay: CreateProfileOverlay, 868 CreateProfileOverlay: CreateProfileOverlay,
869 }; 869 };
870 }); 870 });
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