Closed Bug 941448 Opened 11 years ago Closed 10 years ago

Remove deprecated functions of mozKeyboard API

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 986992

People

(Reporter: xyuan, Unassigned)

References

Details

Attachments

(1 file)

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();
};
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.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: