mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
UWP: support virtual keyboard
This commit is contained in:
parent
19b36bd795
commit
34265c872e
11 changed files with 143 additions and 43 deletions
|
@ -19,7 +19,7 @@ use keyboard_types::KeyboardEvent;
|
|||
use msg::constellation_msg::{InputMethodType, PipelineId, TopLevelBrowsingContextId};
|
||||
use servo_url::ServoUrl;
|
||||
use std::fmt::{Debug, Error, Formatter};
|
||||
use webrender_api::units::{DeviceIntPoint, DeviceIntSize};
|
||||
use webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize};
|
||||
|
||||
pub use webxr_api::MainThreadWaker as EventLoopWaker;
|
||||
|
||||
|
@ -197,7 +197,7 @@ pub enum EmbedderMsg {
|
|||
/// Open interface to request permission specified by prompt.
|
||||
PromptPermission(PermissionPrompt, IpcSender<PermissionRequest>),
|
||||
/// Request to present an IME to the user when an editable element is focused.
|
||||
ShowIME(InputMethodType),
|
||||
ShowIME(InputMethodType, Option<String>, DeviceIntRect),
|
||||
/// Request to hide the IME when the editable element is blurred.
|
||||
HideIME,
|
||||
/// Servo has shut down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue