mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
Ladybird: Allow creating new tabs with plain HTML
This will allow us to internally create a new tab with HTML, to be used by the View Source command.
This commit is contained in:
parent
9c4ce1b80b
commit
a718a1f3a6
10 changed files with 83 additions and 29 deletions
|
@ -13,9 +13,10 @@
|
|||
|
||||
@interface TabController : NSWindowController <NSWindowDelegate>
|
||||
|
||||
- (instancetype)init:(URL)url;
|
||||
- (instancetype)init;
|
||||
|
||||
- (void)load:(URL const&)url;
|
||||
- (void)loadURL:(URL const&)url;
|
||||
- (void)loadHTML:(StringView)html url:(URL const&)url;
|
||||
|
||||
- (void)onLoadStart:(URL const&)url isRedirect:(BOOL)isRedirect;
|
||||
- (void)onTitleChange:(DeprecatedString const&)title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue