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

Side by Side Diff: chrome/browser/resources/options/personal_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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/options/autofill_options.js ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('options', function() { 5 cr.define('options', function() {
6 6
7 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 // 9 //
10 // PersonalOptions class 10 // PersonalOptions class
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 $('not-synced-controls').classList.remove('hidden'); 48 $('not-synced-controls').classList.remove('hidden');
49 } 49 }
50 }); 50 });
51 51
52 52
53 $('showpasswords').onclick = function(event) { 53 $('showpasswords').onclick = function(event) {
54 OptionsPage.showPageByName('passwordsExceptions'); 54 OptionsPage.showPageByName('passwordsExceptions');
55 }; 55 };
56 56
57 $('autofill_options').onclick = function(event) { 57 $('autofill_options').onclick = function(event) {
58 //TODO(sargrass): Show autofill dialog here. 58 OptionsPage.showPageByName('autoFillOptions');
59 }; 59 };
60 60
61 $('import_data').onclick = function(event) { 61 $('import_data').onclick = function(event) {
62 OptionsPage.showOverlay('importDataOverlay'); 62 OptionsPage.showOverlay('importDataOverlay');
63 }; 63 };
64 64
65 if(!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) { 65 if(!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) {
66 $('themes_GTK_button').onclick = function(event) { 66 $('themes_GTK_button').onclick = function(event) {
67 //TODO(sargrass): Show themes GTK dialog here. 67 //TODO(sargrass): Show themes GTK dialog here.
68 }; 68 };
(...skipping 19 matching lines...) Expand all
88 PersonalOptions.getInstance().syncStatusCallback_(statusString); 88 PersonalOptions.getInstance().syncStatusCallback_(statusString);
89 }; 89 };
90 90
91 // Export 91 // Export
92 return { 92 return {
93 PersonalOptions: PersonalOptions 93 PersonalOptions: PersonalOptions
94 }; 94 };
95 95
96 }); 96 });
97 97
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/autofill_options.js ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698