| 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.browser_options', function() { | 5 cr.define('options.browser_options', function() { |
| 6 const AutocompleteList = options.AutocompleteList; | 6 const AutocompleteList = cr.ui.AutocompleteList; |
| 7 const InlineEditableItem = options.InlineEditableItem; | 7 const InlineEditableItem = options.InlineEditableItem; |
| 8 const InlineEditableItemList = options.InlineEditableItemList; | 8 const InlineEditableItemList = options.InlineEditableItemList; |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * Creates a new startup page list item. | 11 * Creates a new startup page list item. |
| 12 * @param {Object} pageInfo The page this item represents. | 12 * @param {Object} pageInfo The page this item represents. |
| 13 * @constructor | 13 * @constructor |
| 14 * @extends {cr.ui.ListItem} | 14 * @extends {cr.ui.ListItem} |
| 15 */ | 15 */ |
| 16 function StartupPageListItem(pageInfo) { | 16 function StartupPageListItem(pageInfo) { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 this.hideDropMarkerTimer_ = window.setTimeout(function() { | 301 this.hideDropMarkerTimer_ = window.setTimeout(function() { |
| 302 $('startupPagesListDropmarker').style.display = ''; | 302 $('startupPagesListDropmarker').style.display = ''; |
| 303 }, 100); | 303 }, 100); |
| 304 }, | 304 }, |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 return { | 307 return { |
| 308 StartupPageList: StartupPageList | 308 StartupPageList: StartupPageList |
| 309 }; | 309 }; |
| 310 }); | 310 }); |
| OLD | NEW |