Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6079)

Unified Diff: chrome/browser/resources/options/font_settings_overlay.js

Issue 2812063: Add starter code for 'Clear Browser Data' and 'Font Settings' overlay dialogs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/font_settings_overlay.html ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/resources/options/font_settings_overlay.html ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698