Bug 924893 - Add info for the value_selector to contextchange chrome event. r=yxl

This commit is contained in:
Jan Jongboom 2013-10-17 11:08:55 -04:00
Родитель ddd27e5138
Коммит 0eae884980
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -189,9 +189,15 @@ this.Keyboard = {
let browser = Services.wm.getMostRecentWindow("navigator:browser");
// Chrome event, used also to render value selectors; that's why we need
// the info about choices / min / max here as well...
browser.shell.sendChromeEvent({
type: 'inputmethod-contextchange',
inputType: msg.data.type
inputType: msg.data.type,
value: msg.data.value,
choices: JSON.stringify(msg.data.choices),
min: msg.data.min,
max: msg.data.max
});
},