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

Side by Side Diff: chrome/browser/resources/options/chromeos/accounts_options.js

Issue 543493002: Compile chrome://settings, part 2: reduce from 950 to 400 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@F_settings
Patch Set: rebase? rebase! Created 6 years, 3 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 8
9 ///////////////////////////////////////////////////////////////////////////// 9 /////////////////////////////////////////////////////////////////////////////
10 // AccountsOptions class: 10 // AccountsOptions class:
11 11
12 /** 12 /**
13 * Encapsulated handling of ChromeOS accounts options page. 13 * Encapsulated handling of ChromeOS accounts options page.
14 * @constructor 14 * @constructor
15 * @extends {cr.ui.pageManager.Page}
15 */ 16 */
16 function AccountsOptions(model) { 17 function AccountsOptions(model) {
17 Page.call(this, 'accounts', loadTimeData.getString('accountsPageTabTitle'), 18 Page.call(this, 'accounts', loadTimeData.getString('accountsPageTabTitle'),
18 'accountsPage'); 19 'accountsPage');
19 // Whether to show the whitelist. 20 // Whether to show the whitelist.
20 this.showWhitelist_ = false; 21 this.showWhitelist_ = false;
21 } 22 }
22 23
23 cr.addSingletonGetter(AccountsOptions); 24 cr.addSingletonGetter(AccountsOptions);
24 25
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 if (this.showWhitelist_) 147 if (this.showWhitelist_)
147 $('userList').updateAccountPicture(username); 148 $('userList').updateAccountPicture(username);
148 }; 149 };
149 150
150 // Export 151 // Export
151 return { 152 return {
152 AccountsOptions: AccountsOptions 153 AccountsOptions: AccountsOptions
153 }; 154 };
154 155
155 }); 156 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698