mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
UI/AppKit: Remove the built-in Inspector widget
This commit is contained in:
parent
bb87de58a0
commit
03735cf11d
Notes:
github-actions[bot]
2025-03-15 18:11:08 +00:00
Author: https://github.com/trflynn89
Commit: 03735cf11d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3956
10 changed files with 0 additions and 558 deletions
|
@ -1294,9 +1294,6 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
[_page_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"View Source"
|
||||
action:@selector(viewSource:)
|
||||
keyEquivalent:@""]];
|
||||
[_page_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Inspect Element"
|
||||
action:@selector(inspectElement:)
|
||||
keyEquivalent:@""]];
|
||||
}
|
||||
|
||||
return _page_context_menu;
|
||||
|
@ -1320,11 +1317,6 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
keyEquivalent:@""];
|
||||
[copy_link_menu_item setTag:CONTEXT_MENU_COPY_LINK_TAG];
|
||||
[_link_context_menu addItem:copy_link_menu_item];
|
||||
[_link_context_menu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
[_link_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Inspect Element"
|
||||
action:@selector(inspectElement:)
|
||||
keyEquivalent:@""]];
|
||||
}
|
||||
|
||||
return _link_context_menu;
|
||||
|
@ -1353,11 +1345,6 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
[_image_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Copy Image URL"
|
||||
action:@selector(copyLink:)
|
||||
keyEquivalent:@""]];
|
||||
[_image_context_menu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
[_image_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Inspect Element"
|
||||
action:@selector(inspectElement:)
|
||||
keyEquivalent:@""]];
|
||||
}
|
||||
|
||||
return _image_context_menu;
|
||||
|
@ -1405,11 +1392,6 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
[_audio_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Copy Audio URL"
|
||||
action:@selector(copyLink:)
|
||||
keyEquivalent:@""]];
|
||||
[_audio_context_menu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
[_audio_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Inspect Element"
|
||||
action:@selector(inspectElement:)
|
||||
keyEquivalent:@""]];
|
||||
}
|
||||
|
||||
return _audio_context_menu;
|
||||
|
@ -1457,11 +1439,6 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
[_video_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Copy Video URL"
|
||||
action:@selector(copyLink:)
|
||||
keyEquivalent:@""]];
|
||||
[_video_context_menu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
[_video_context_menu addItem:[[NSMenuItem alloc] initWithTitle:@"Inspect Element"
|
||||
action:@selector(inspectElement:)
|
||||
keyEquivalent:@""]];
|
||||
}
|
||||
|
||||
return _video_context_menu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue