Closed
Bug 941448
Opened 11 years ago
Closed 11 years ago
Remove deprecated functions of mozKeyboard API
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
DUPLICATE
of bug 986992
People
(Reporter: xyuan, Unassigned)
References
Details
Attachments
(1 file)
12.82 KB,
patch
|
Details | Diff | Splinter Review |
mozKeyboard API is currently restricted to the internal usage for the gaia system app only. The embedded gaia keyboard app and the third party keyboard app are switched to use the InputMethod API instead.
To reduce the efforts of maintenance of the deprecated mozKeyboard API and improving the new IinputMethod API. I think we should remove the unused functions of mozKeyboard API as well as the workaround code to make InputMethod API compatible with mozKeyboard API.
After removal, the following the functions of the mozKeyboard will be kept:
interface nsIB2GKeyboard : nsISupports
{
void setSelectedOption(in jsval index);
void setSelectedOptions(in jsval indexes);
void setValue(in jsval value);
void removeFocus();
};
Comment 1•11 years ago
|
||
removeFocus can be easily replaced by mozInputMethod (there are two places where we use it a.t.m.). The other methods need a new API in input method.
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•