mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
UWP: support virtual keyboard
This commit is contained in:
parent
19b36bd795
commit
34265c872e
11 changed files with 143 additions and 43 deletions
|
@ -173,7 +173,8 @@ struct ServoControl : ServoControlT<ServoControl>, public servo::ServoDelegate {
|
|||
virtual void OnServoURLChanged(winrt::hstring);
|
||||
virtual bool OnServoAllowNavigation(winrt::hstring);
|
||||
virtual void OnServoAnimatingChanged(bool);
|
||||
virtual void OnServoIMEStateChanged(bool);
|
||||
virtual void OnServoIMEHide();
|
||||
virtual void OnServoIMEShow(hstring text, int32_t, int32_t, int32_t, int32_t);
|
||||
virtual void OnServoMediaSessionMetadata(winrt::hstring, winrt::hstring,
|
||||
winrt::hstring);
|
||||
virtual void OnServoMediaSessionPlaybackStateChange(int);
|
||||
|
@ -281,6 +282,9 @@ private:
|
|||
|
||||
std::optional<Windows::UI::Text::Core::CoreTextEditContext> mEditContext;
|
||||
std::optional<Windows::UI::ViewManagement::InputPane> mInputPane;
|
||||
|
||||
std::optional<Windows::Foundation::Rect> mFocusedInputRect;
|
||||
std::optional<hstring> mFocusedInputText;
|
||||
};
|
||||
} // namespace winrt::ServoApp::implementation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue