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

Unified Diff: chrome/browser/resources/settings/languages_page/languages_types.js

Issue 2359353002: MD Settings: Polish for Languages main page (Closed)
Patch Set: dbeam feedback Created 4 years, 3 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/languages_page/languages_types.js
diff --git a/chrome/browser/resources/settings/languages_page/languages_types.js b/chrome/browser/resources/settings/languages_page/languages_types.js
index 417ad2894677bf0c6dc650defe5fb3952e3fd5d6..4ee060f50880fdfd7dc9cb2525f4164ffc88df39 100644
--- a/chrome/browser/resources/settings/languages_page/languages_types.js
+++ b/chrome/browser/resources/settings/languages_page/languages_types.js
@@ -109,6 +109,12 @@ LanguageHelper.prototype = {
moveLanguage: assertNotReached,
/**
+ * Moves the language directly to the front of the list of enabled languages.
+ * @param {string} languageCode
+ */
+ moveLanguageToFront: assertNotReached,
+
+ /**
* Enables translate for the given language by removing the translate
* language from the blocked languages preference.
* @param {string} languageCode

Powered by Google App Engine
This is Rietveld 408576698