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

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

Issue 1895723003: Fix closure compile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | 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) 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 /** @const */ var Page = cr.ui.pageManager.Page; 6 /** @const */ var Page = cr.ui.pageManager.Page;
7 /** @const */ var PageManager = cr.ui.pageManager.PageManager; 7 /** @const */ var PageManager = cr.ui.pageManager.PageManager;
8 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 8 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
9 9
10 ///////////////////////////////////////////////////////////////////////////// 10 /////////////////////////////////////////////////////////////////////////////
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 }, 280 },
281 281
282 /** 282 /**
283 * @param {boolean} visible Whether the link should be visible. 283 * @param {boolean} visible Whether the link should be visible.
284 * @private 284 * @private
285 */ 285 */
286 setManageAccountLinkVisibility_: function(visible) { 286 setManageAccountLinkVisibility_: function(visible) {
287 $('manage-passwords-span').hidden = !visible; 287 $('manage-passwords-span').hidden = !visible;
288 }, 288 },
289 289
290 /** @private */
290 showImportExportButton_: function() { 291 showImportExportButton_: function() {
291 $('password-manager-import').hidden = false; 292 $('password-manager-import').hidden = false;
292 $('password-manager-export').hidden = false; 293 $('password-manager-export').hidden = false;
293 }, 294 },
294 }; 295 };
295 296
296 /** 297 /**
297 * Removes a saved password. 298 * Removes a saved password.
298 * @param {number} rowIndex indicating the row to remove. 299 * @param {number} rowIndex indicating the row to remove.
299 */ 300 */
(...skipping 22 matching lines...) Expand all
322 'showImportExportButton', 323 'showImportExportButton',
323 'showPassword', 324 'showPassword',
324 ]); 325 ]);
325 326
326 // Export 327 // Export
327 return { 328 return {
328 PasswordManager: PasswordManager 329 PasswordManager: PasswordManager
329 }; 330 };
330 331
331 }); 332 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698