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

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

Issue 1290183002: Drop an obsolete Keychain disclaimer in the import dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/import_data_overlay.js
diff --git a/chrome/browser/resources/options/import_data_overlay.js b/chrome/browser/resources/options/import_data_overlay.js
index b8d0e61785271ff553a535506f98f9e2066405ac..6c2afafe8e9685b380000ea1f77697af9d4fa696 100644
--- a/chrome/browser/resources/options/import_data_overlay.js
+++ b/chrome/browser/resources/options/import_data_overlay.js
@@ -50,7 +50,6 @@ cr.define('options', function() {
$('import-browsers').onchange = function() {
self.updateCheckboxes_();
self.validateCommitButton_();
- self.updateBottomBar_();
};
$('import-data-commit').onclick = function() {
@@ -103,9 +102,6 @@ cr.define('options', function() {
this.setUpCheckboxState_(checkboxes[i], enabled);
$('import-data-commit').disabled = !enabled;
$('import-choose-file').hidden = !enabled;
-<if expr="is_macosx">
- $('mac-password-keychain').hidden = !enabled;
-</if>
},
/**
@@ -146,21 +142,6 @@ cr.define('options', function() {
},
/**
- * Show or hide gray message at the bottom.
- * @private
- */
- updateBottomBar_: function() {
- var index = $('import-browsers').selectedIndex;
- var browserProfile;
- if (this.browserProfiles.length > index)
- browserProfile = this.browserProfiles[index];
- var enable = browserProfile && browserProfile['show_bottom_bar'];
-<if expr="is_macosx">
- $('mac-password-keychain').hidden = !enable;
-</if>
- },
-
- /**
* Update the supported browsers popup with given entries.
* @param {Array} browsers List of supported browsers name.
* @private
@@ -187,7 +168,6 @@ cr.define('options', function() {
this.updateCheckboxes_();
this.validateCommitButton_();
- this.updateBottomBar_();
}
},
« no previous file with comments | « chrome/browser/resources/options/import_data_overlay.html ('k') | chrome/browser/ui/webui/options/import_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698