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

Side by Side Diff: chrome/browser/resources/options/autofill_options.js

Issue 426723004: options: Remove a bunch of useless: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 var ArrayDataModel = cr.ui.ArrayDataModel; 7 var ArrayDataModel = cr.ui.ArrayDataModel;
8 8
9 ///////////////////////////////////////////////////////////////////////////// 9 /////////////////////////////////////////////////////////////////////////////
10 // AutofillOptions class: 10 // AutofillOptions class:
(...skipping 21 matching lines...) Expand all
32 */ 32 */
33 addressList_: null, 33 addressList_: null,
34 34
35 /** 35 /**
36 * The credit card list. 36 * The credit card list.
37 * @type {DeletableItemList} 37 * @type {DeletableItemList}
38 * @private 38 * @private
39 */ 39 */
40 creditCardList_: null, 40 creditCardList_: null,
41 41
42 /** @override */
42 initializePage: function() { 43 initializePage: function() {
43 OptionsPage.prototype.initializePage.call(this); 44 OptionsPage.prototype.initializePage.call(this);
44 45
45 this.createAddressList_(); 46 this.createAddressList_();
46 this.createCreditCardList_(); 47 this.createCreditCardList_();
47 48
48 var self = this; 49 var self = this;
49 $('autofill-add-address').onclick = function(event) { 50 $('autofill-add-address').onclick = function(event) {
50 self.showAddAddressOverlay_(); 51 self.showAddAddressOverlay_();
51 }; 52 };
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 AutofillOptions.getInstance().showEditCreditCardOverlay_(creditCard); 221 AutofillOptions.getInstance().showEditCreditCardOverlay_(creditCard);
221 }; 222 };
222 223
223 // Export 224 // Export
224 return { 225 return {
225 AutofillOptions: AutofillOptions 226 AutofillOptions: AutofillOptions
226 }; 227 };
227 228
228 }); 229 });
229 230
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698