personal_options.js revision c407dc5cd9bdc5668497f21b26b09d988ab439de
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// 6// PersonalOptions class 7// Encapsulated handling of personal options page. 8// 9function PersonalOptions() { 10 OptionsPage.call(this, 'personal', templateData.personalPage, 'personalPage'); 11} 12 13cr.addSingletonGetter(PersonalOptions); 14 15PersonalOptions.prototype = { 16 // Inherit PersonalOptions from OptionsPage. 17 __proto__: OptionsPage.prototype, 18 19 // Initialize PersonalOptions page. 20 initializePage: function() { 21 // Call base class implementation to starts preference initialization. 22 OptionsPage.prototype.initializePage.call(this); 23 24 // TODO(csilv): add any needed initialization here or delete this method. 25 } 26}; 27