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

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

Issue 2830036: Advanced (Under the Hood) options panel code review (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/personal_options.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/personal_options.js
===================================================================
--- chrome/browser/resources/options/personal_options.js (revision 0)
+++ chrome/browser/resources/options/personal_options.js (revision 0)
@@ -0,0 +1,32 @@
+// 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.
+
+//
+// PersonalOptions class
+// Encapsulated handling of personal options page.
+//
+function PersonalOptions(model) {
+ OptionsPage.call(this, 'personal', templateData.personalPage, 'personalPage');
+}
+
+PersonalOptions.getInstance = function() {
+ if (!PersonalOptions.instance_) {
+ PersonalOptions.instance_ = new PersonalOptions(null);
+ }
+ return PersonalOptions.instance_;
+}
+
+PersonalOptions.prototype = {
+ // Inherit PersonalOptions from OptionsPage.
+ __proto__: OptionsPage.prototype,
+
+ // Initialize PersonalOptions page.
+ initializePage: function() {
+ // Call base class implementation to starts preference initialization.
+ OptionsPage.prototype.initializePage.call(this);
+
+ // TODO(csilv): add any needed initialization here or delete this method.
+ },
+};
+
Property changes on: chrome/browser/resources/options/personal_options.js
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/resources/options/personal_options.html ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698