Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition.

This commit is contained in:
wolfbeast 2018-06-26 13:26:07 +02:00 • committed by Roy Tam
commit 32326ee192
4 changed files with 22 additions and 14 deletions

View file

@ -247,7 +247,8 @@ public:
* IME event handlers.
*/
virtual nsresult BeginIMEComposition(WidgetCompositionEvent* aEvent);
virtual nsresult UpdateIMEComposition(nsIDOMEvent* aDOMTextEvent) = 0;
virtual nsresult UpdateIMEComposition(
WidgetCompositionEvent* aCompositionChangeEvent) = 0;
void EndIMEComposition();
void SwitchTextDirectionTo(uint32_t aDirection);