diff options
author | Paul Rouget <me@paulrouget.com> | 2020-03-31 09:40:57 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2020-03-31 12:25:54 +0200 |
commit | 0b489a0135034bca275c065647b1198846bb425c (patch) | |
tree | ac63a3fa754a005aed09cf09e7e1ebd145d12f1a /components/embedder_traits/lib.rs | |
parent | 687156ac90d0cead80e89b63b9394d1a6f7a808e (diff) | |
download | servo-0b489a0135034bca275c065647b1198846bb425c.tar.gz servo-0b489a0135034bca275c065647b1198846bb425c.zip |
Make it possible to add a title to context menu
Diffstat (limited to 'components/embedder_traits/lib.rs')
-rw-r--r-- | components/embedder_traits/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/embedder_traits/lib.rs b/components/embedder_traits/lib.rs index 961cd5e53a4..7e76a3f2446 100644 --- a/components/embedder_traits/lib.rs +++ b/components/embedder_traits/lib.rs @@ -157,7 +157,7 @@ pub enum EmbedderMsg { /// Show dialog to user Prompt(PromptDefinition, PromptOrigin), /// Show a context menu to the user - ShowContextMenu(IpcSender<ContextMenuResult>, Vec<String>), + ShowContextMenu(IpcSender<ContextMenuResult>, Option<String>, Vec<String>), /// Whether or not to allow a pipeline to load a url. AllowNavigationRequest(PipelineId, ServoUrl), /// Whether or not to allow script to open a new tab/browser |