mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add IME callback for embedders.
This commit is contained in:
parent
9358b6a2fb
commit
256011a652
3 changed files with 11 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue