author | Jan Jongboom <janjongboom@gmail.com> |
Thu, 17 Oct 2013 11:08:55 -0400 | |
changeset 152648 | 8301158fba85ee0e8366b23192ecc2cfbb48fc6c |
parent 152647 | 740620afa4ea53b73aff4ae0e6171a19b1eea811 |
child 152649 | 2359a63c86068b43cef49452f6df1b57012ab73e |
push id | 25554 |
push user | cbook@mozilla.com |
push date | Tue, 29 Oct 2013 14:15:07 +0000 |
treeherder | mozilla-central@4aefc2ca4861 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | yxl |
bugs | 924893 |
milestone | 27.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/inputmethod/Keyboard.jsm +++ b/dom/inputmethod/Keyboard.jsm @@ -184,19 +184,25 @@ this.Keyboard = { ppmm.broadcastAsyncMessage(newEventName, msg.data); }, handleFocusChange: function keyboardHandleFocusChange(msg) { this.forwardEvent('Keyboard:FocusChange', msg); 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 }); }, setSelectedOption: function keyboardSetSelectedOption(msg) { this.sendAsyncMessage('Forms:Select:Choice', msg.data); }, setSelectedOptions: function keyboardSetSelectedOptions(msg) {