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

Unified Diff: chrome/browser/resources/options/browser_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
Index: chrome/browser/resources/options/browser_options.js
===================================================================
--- chrome/browser/resources/options/browser_options.js (revision 0)
+++ chrome/browser/resources/options/browser_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.
+
+//
+// BrowserOptions class
+// Encapsulated handling of browser options page.
+//
+function BrowserOptions(model) {
+ OptionsPage.call(this, 'browser', templateData.browserPage, 'browserPage');
+}
+
+BrowserOptions.getInstance = function() {
+ if (!BrowserOptions.instance_) {
+ BrowserOptions.instance_ = new BrowserOptions(null);
+ }
+ return BrowserOptions.instance_;
+}
+
+BrowserOptions.prototype = {
+ // Inherit BrowserOptions from OptionsPage.
+ __proto__: OptionsPage.prototype,
+
+ // Initialize BrowserOptions 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/browser_options.js
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/resources/options/chromeos_system_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698