mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Notify the embedder when it should display or hide an IME
This commit is contained in:
parent
05fe8fa08d
commit
42886613d3
8 changed files with 93 additions and 2 deletions
|
@ -1247,6 +1247,14 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
|||
FromScriptMsg::SetFullscreenState(state) => {
|
||||
self.embedder_proxy.send(EmbedderMsg::SetFullscreenState(source_top_ctx_id, state));
|
||||
}
|
||||
FromScriptMsg::ShowIME(kind) => {
|
||||
debug!("constellation got ShowIME message");
|
||||
self.embedder_proxy.send(EmbedderMsg::ShowIME(source_top_ctx_id, kind));
|
||||
}
|
||||
FromScriptMsg::HideIME => {
|
||||
debug!("constellation got HideIME message");
|
||||
self.embedder_proxy.send(EmbedderMsg::HideIME(source_top_ctx_id));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue