mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Ladybird: Add ability to create a tab without creating a new WebContent
This commit is contained in:
parent
506707cc2b
commit
48ce8fb4e9
11 changed files with 36 additions and 21 deletions
|
@ -28,7 +28,7 @@ class Tab final : public QWidget {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Tab(BrowserWindow* window, WebContentOptions const&, StringView webdriver_content_ipc_path);
|
||||
Tab(BrowserWindow* window, WebContentOptions const&, StringView webdriver_content_ipc_path, RefPtr<WebView::WebContentClient> parent_client = nullptr, size_t page_index = 0);
|
||||
virtual ~Tab() override;
|
||||
|
||||
WebContentView& view() { return *m_view; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue