OLD | NEW |
1 // Copyright (c) 2011 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.personal_options', function() { | 5 cr.define('options.browser_options', function() { |
6 const DeletableItem = options.DeletableItem; | 6 const DeletableItem = options.DeletableItem; |
7 const DeletableItemList = options.DeletableItemList; | 7 const DeletableItemList = options.DeletableItemList; |
8 const ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; | 8 const ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; |
9 | 9 |
10 var localStrings = new LocalStrings(); | 10 var localStrings = new LocalStrings(); |
11 | 11 |
12 /** | 12 /** |
13 * Creates a new profile list item. | 13 * Creates a new profile list item. |
14 * @param {Object} profileInfo The profile this item respresents. | 14 * @param {Object} profileInfo The profile this item respresents. |
15 * @constructor | 15 * @constructor |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 if (profileInfo.isCurrentProfile) | 96 if (profileInfo.isCurrentProfile) |
97 ManageProfileOverlay.showManageDialog(profileInfo); | 97 ManageProfileOverlay.showManageDialog(profileInfo); |
98 }, | 98 }, |
99 }; | 99 }; |
100 | 100 |
101 return { | 101 return { |
102 ProfileList: ProfileList | 102 ProfileList: ProfileList |
103 }; | 103 }; |
104 }); | 104 }); |
105 | 105 |
OLD | NEW |