OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 cr.define('options', function() { |
| 6 |
| 7 var OptionsPage = options.OptionsPage; |
| 8 |
| 9 ///////////////////////////////////////////////////////////////////////////// |
| 10 // AutoFillOptions class: |
| 11 |
| 12 /** |
| 13 * Encapsulated handling of AutoFill options page. |
| 14 * @constructor |
| 15 */ |
| 16 function AutoFillOptions() { |
| 17 this.activeNavTab = null; |
| 18 OptionsPage.call(this, 'autoFillOptions', |
| 19 templateData.autoFillOptionsTitle, |
| 20 'autoFillOptionsPage'); |
| 21 } |
| 22 |
| 23 cr.addSingletonGetter(AutoFillOptions); |
| 24 |
| 25 AutoFillOptions.prototype = { |
| 26 __proto__: OptionsPage.prototype, |
| 27 |
| 28 initializePage: function() { |
| 29 OptionsPage.prototype.initializePage.call(this); |
| 30 |
| 31 // TODO(jhawkins): Add initialization here. |
| 32 } |
| 33 }; |
| 34 |
| 35 // Export |
| 36 return { |
| 37 AutoFillOptions: AutoFillOptions |
| 38 }; |
| 39 |
| 40 }); |
| 41 |
OLD | NEW |