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 /** |
| 6 * ClearBrowserData class |
| 7 * Encapsulated handling of the 'Clear Browser Data' overlay page. |
| 8 * @class |
| 9 */ |
| 10 function ClearBrowserDataOverlay() { |
| 11 OptionsPage.call(this, 'clearBrowserDataOverlay', |
| 12 templateData.clearBrowserDataTitle, |
| 13 'clearBrowserDataOverlay'); |
| 14 } |
| 15 |
| 16 cr.addSingletonGetter(ClearBrowserDataOverlay); |
| 17 |
| 18 ClearBrowserDataOverlay.prototype = { |
| 19 // Inherit ClearBrowserDataOverlay from OptionsPage. |
| 20 __proto__: OptionsPage.prototype, |
| 21 |
| 22 /** |
| 23 * Initialize the page. |
| 24 */ |
| 25 initializePage: function() { |
| 26 // Call base class implementation to starts preference initialization. |
| 27 OptionsPage.prototype.initializePage.call(this); |
| 28 |
| 29 // TODO(csilv): add any initialization here or delete method and/or class. |
| 30 } |
| 31 }; |
OLD | NEW |