mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
Ladybird: Add more items to the debug menu of the AppKit chrome
This commit is contained in:
parent
63d09f6daf
commit
bac4fc1b73
5 changed files with 217 additions and 4 deletions
|
@ -11,6 +11,14 @@
|
|||
|
||||
#import <System/Cocoa.h>
|
||||
|
||||
struct TabSettings {
|
||||
BOOL should_show_line_box_borders { NO };
|
||||
BOOL scripting_enabled { YES };
|
||||
BOOL block_popups { YES };
|
||||
BOOL same_origin_policy_enabled { NO };
|
||||
DeprecatedString user_agent_name { "Disabled"sv };
|
||||
};
|
||||
|
||||
@interface TabController : NSWindowController <NSWindowDelegate>
|
||||
|
||||
- (instancetype)init;
|
||||
|
@ -26,6 +34,8 @@
|
|||
- (void)reload:(id)sender;
|
||||
- (void)clearHistory;
|
||||
|
||||
- (void)debugRequest:(DeprecatedString const&)request argument:(DeprecatedString const&)argument;
|
||||
|
||||
- (void)focusLocationToolbarItem;
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue