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

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

Issue 3149025: dom-ui options: Remove special casing for Mac passwords, all platforms should... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase to r56875. 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/personal_options.js
===================================================================
--- chrome/browser/resources/options/personal_options.js (revision 56875)
+++ chrome/browser/resources/options/personal_options.js (working copy)
@@ -46,19 +46,12 @@
}
});
+ $('showpasswords').onclick = function(event) {
+ PasswordsExceptions.load();
+ OptionsPage.showPageByName('passwordsExceptions');
+ OptionsPage.showTab($('passwords-nav-tab'));
+ };
- if(cr.isMac) {
- $('showpasswords').onclick = function(event) {
- //TODO(sargrass): Add the Mac implementation
- }
- } else {
- $('showpasswords').onclick = function(event) {
- PasswordsExceptions.load();
- OptionsPage.showPageByName('passwordsExceptions');
- OptionsPage.showTab($('passwords-nav-tab'));
- };
- }
-
$('autofill_options').onclick = function(event) {
OptionsPage.showPageByName('autoFillOptions');
};
« 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