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

Unified Diff: chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 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/settings/appearance_page/appearance_fonts_page.js
diff --git a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
index 893b39c1d7b15625822194e0535dad1913a98afc..2e26c5905a3b0531ec03d78bea6fc9a9e68f2bba 100644
--- a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
+++ b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
@@ -51,9 +51,6 @@
browserProxy_: Object,
/** @private {!DropdownMenuOptionList} */
- encodingOptions_: Object,
-
- /** @private {!DropdownMenuOptionList} */
fontOptions_: Object,
/**
@@ -124,7 +121,7 @@
},
/**
- * @param {!FontsData} response A list of fonts, encodings and the advanced
+ * @param {!FontsData} response A list of fonts and the advanced
* font settings extension URL.
* @private
*/
@@ -137,15 +134,6 @@
});
}
this.fontOptions_ = fontMenuOptions;
-
- var encodingMenuOptions = [];
- for (i = 0; i < response.encodingList.length; ++i) {
- encodingMenuOptions.push({
- value: response.encodingList[i][0],
- name: response.encodingList[i][1]
- });
- }
- this.encodingOptions_ = encodingMenuOptions;
this.advancedExtensionUrl_ = response.extensionUrl;
},

Powered by Google App Engine
This is Rietveld 408576698