Add IME callback for embedders.

This commit is contained in:
Josh Matthews 2019-01-22 13:36:07 -05:00
parent 9358b6a2fb
commit 256011a652
3 changed files with 11 additions and 0 deletions

View file

@ -81,6 +81,8 @@ pub trait HostTrait {
fn on_animating_changed(&self, animating: bool);
/// Servo finished shutting down.
fn on_shutdown_complete(&self);
/// A text input is focused.
fn on_ime_state_changed(&self, show: bool);
}
pub struct ServoGlue {