mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
WebContent: Provide access to ConnectionFromClient's PageHost
This is needed to construct a WebDriverConnection from outside of PageHost itself in Ladybird.
This commit is contained in:
parent
d2b2d3ad80
commit
4d4ed96fa1
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ public:
|
||||||
|
|
||||||
Optional<int> fd() { return socket().fd(); }
|
Optional<int> fd() { return socket().fd(); }
|
||||||
|
|
||||||
|
PageHost& page_host() { return *m_page_host; }
|
||||||
|
PageHost const& page_host() const { return *m_page_host; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue