зеркало из https://github.com/mozilla/gecko-dev.git
Bug 924893 - Add info for the value_selector to contextchange chrome event. r=yxl
This commit is contained in:
Родитель
ddd27e5138
Коммит
0eae884980
|
@ -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
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче