mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
UWP: Basic key events
This commit is contained in:
parent
71bd7a4199
commit
2dcb78de13
8 changed files with 228 additions and 30 deletions
|
@ -265,6 +265,7 @@ private:
|
|||
void RunOnGLThread(std::function<void()>);
|
||||
|
||||
void TryLoadUri(hstring);
|
||||
void InitializeTextController();
|
||||
|
||||
std::unique_ptr<servo::Servo> mServo;
|
||||
PropertySet mNativeWindowProperties;
|
||||
|
@ -278,6 +279,9 @@ private:
|
|||
hstring mArgs;
|
||||
std::optional<servo::Servo::MouseButton> mPressedMouseButton = {};
|
||||
std::unique_ptr<L10NStrings> mL10NStrings = nullptr;
|
||||
|
||||
std::optional<Windows::UI::Text::Core::CoreTextEditContext> mEditContext;
|
||||
std::optional<Windows::UI::ViewManagement::InputPane> mInputPane;
|
||||
};
|
||||
} // namespace winrt::ServoApp::implementation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue