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

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

Issue 3044047: DOMUI: Base framework for the AutoFill page. (Closed)
Patch Set: Fix missing handler. Created 10 years, 4 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/autofill_options.js
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
new file mode 100644
index 0000000000000000000000000000000000000000..678a1acc335fcc1d5e5a0d1313aa1fd7a82b4fc8
--- /dev/null
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -0,0 +1,41 @@
+// 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.
+
+cr.define('options', function() {
+
+ var OptionsPage = options.OptionsPage;
+
+ /////////////////////////////////////////////////////////////////////////////
+ // AutoFillOptions class:
+
+ /**
+ * Encapsulated handling of AutoFill options page.
+ * @constructor
+ */
+ function AutoFillOptions() {
+ this.activeNavTab = null;
+ OptionsPage.call(this, 'autoFillOptions',
+ templateData.autoFillOptionsTitle,
+ 'autoFillOptionsPage');
+ }
+
+ cr.addSingletonGetter(AutoFillOptions);
+
+ AutoFillOptions.prototype = {
+ __proto__: OptionsPage.prototype,
+
+ initializePage: function() {
+ OptionsPage.prototype.initializePage.call(this);
+
+ // TODO(jhawkins): Add initialization here.
+ }
+ };
+
+ // Export
+ return {
+ AutoFillOptions: AutoFillOptions
+ };
+
+});
+
« no previous file with comments | « chrome/browser/resources/options/autofill_options.html ('k') | chrome/browser/resources/options/personal_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698