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

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

Issue 136693012: [IME] Supports options page for each IME instead of single options page for each IME extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 11 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/language_options.js
diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
index 3ebf7d2665bf940e57089ced80f1c3b0ec0fc568..fabc6ba697d338946b4115bc66e636e67e732d3d 100644
--- a/chrome/browser/resources/options/language_options.js
+++ b/chrome/browser/resources/options/language_options.js
@@ -325,9 +325,9 @@ cr.define('options', function() {
var button = document.createElement('button');
button.textContent = loadTimeData.getString('configure');
button.inputMethodId = inputMethod.id;
- button.onclick = function(inputMethodId, e) {
- chrome.send('inputMethodOptionsOpen', [inputMethodId]);
- }.bind(this, inputMethod.id);
+ button.onclick = function(id, optionsPage, e) {
+ chrome.send('inputMethodOptionsOpen', [id, optionsPage]);
+ }.bind(this, inputMethod.id, inputMethod.optionsPage);
element.appendChild(button);
}

Powered by Google App Engine
This is Rietveld 408576698