mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #26043 - paulrouget:IMMenu, r=jdm
Context menu API This adds an API for Servo internals to request a context menu to the embedder, along an implement for the UWP port.
This commit is contained in:
commit
c3ecf2ecef
10 changed files with 132 additions and 10 deletions
|
@ -117,12 +117,13 @@ struct ServoControl : ServoControlT<ServoControl>, public servo::ServoDelegate {
|
|||
winrt::hstring);
|
||||
virtual void OnServoMediaSessionPlaybackStateChange(int);
|
||||
virtual void OnServoPromptAlert(winrt::hstring, bool);
|
||||
virtual void OnServoShowContextMenu(std::vector<winrt::hstring>);
|
||||
virtual servo::Servo::PromptResult OnServoPromptOkCancel(winrt::hstring,
|
||||
bool);
|
||||
virtual servo::Servo::PromptResult OnServoPromptYesNo(winrt::hstring, bool);
|
||||
virtual std::optional<hstring> OnServoPromptInput(winrt::hstring,
|
||||
winrt::hstring, bool);
|
||||
virtual void OnServoDevtoolsStarted(bool success, const unsigned int port);
|
||||
virtual void OnServoDevtoolsStarted(bool, const unsigned int);
|
||||
|
||||
DevtoolsStatus GetDevtoolsStatus();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue