mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-24 11:11:51 +00:00
LibWeb: Move OutOfProcessWebView into the Web namespace
This commit is contained in:
parent
09ccb46980
commit
682b2fdb75
Notes:
sideshowbarker
2024-07-19 03:12:42 +09:00
Author: https://github.com/alimpfard
Commit: 682b2fdb75
Pull-request: https://github.com/SerenityOS/serenity/pull/3279
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
9 changed files with 24 additions and 10 deletions
|
@ -28,6 +28,8 @@
|
|||
#include "OutOfProcessWebView.h"
|
||||
#include <AK/SharedBuffer.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
WebContentClient::WebContentClient(OutOfProcessWebView& view)
|
||||
: IPC::ServerConnection<WebContentClientEndpoint, WebContentServerEndpoint>(*this, "/tmp/portal/webcontent")
|
||||
, m_view(view)
|
||||
|
@ -139,3 +141,5 @@ void WebContentClient::handle(const Messages::WebContentClient::DidRequestLinkCo
|
|||
{
|
||||
m_view.notify_server_did_request_link_context_menu({}, message.content_position(), message.url(), message.target(), message.modifiers());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue