Talk:WebAPI/KeboardIME: Difference between revisions

Modify the chromeEvent type info
(Modify the chromeEvent type info)
Line 41: Line 41:
Here are some signals necessary to Keyboard Manager in System app in order for it to do minimal interaction with keyboard app and text field.
Here are some signals necessary to Keyboard Manager in System app in order for it to do minimal interaction with keyboard app and text field.


* <code>inputmethodcontextchange</code>: should also expose the nsIDOMInputContext object here
* <code>inputmethod-contextchange</code>: should also expose the nsIDOMInputContext object here
* <code>inputmethodnext</code>
* <code>inputmethod-next</code>
* <code>inputmethodshowall</code>
* <code>inputmethod-showall</code>


=== mozbrowser API extension ===
=== mozbrowser API extension ===


* <code>setInputMethodActive(boolean)</code>: Depend on what we want, we might not want to re-use <code>setVisible()</code> to block/unblock a background/foreground keyboard app to interact with the text fields.
* <code>setInputMethodActive(boolean)</code>: Depend on what we want, we might not want to re-use <code>setVisible()</code> to block/unblock a background/foreground keyboard app to interact with the text fields.
Confirmed users
159

edits