Index: chrome/browser/resources/options/font_settings_overlay.js |
=================================================================== |
--- chrome/browser/resources/options/font_settings_overlay.js (revision 0) |
+++ chrome/browser/resources/options/font_settings_overlay.js (revision 0) |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * FontSettingsOverlay class |
+ * Encapsulated handling of the 'Font Settings' overlay page. |
+ * @class |
+ */ |
+function FontSettingsOverlay() { |
+ OptionsPage.call(this, 'fontSettingsOverlay', |
+ templateData.fontSettingsOverlayTitle, |
+ 'fontSettingsOverlay'); |
+} |
+ |
+cr.addSingletonGetter(FontSettingsOverlay); |
+ |
+FontSettingsOverlay.prototype = { |
+ // Inherit FontSettingsOverlay from OptionsPage. |
+ __proto__: OptionsPage.prototype, |
+ |
+ /** |
+ * Initialize the page. |
+ */ |
+ initializePage: function() { |
+ // Call base class implementation to starts preference initialization. |
+ OptionsPage.prototype.initializePage.call(this); |
+ |
+ // TODO(csilv): add any initialization here or delete method and/or class. |
+ } |
+}; |
Property changes on: chrome/browser/resources/options/font_settings_overlay.js |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |