Move off of internal SDK, copy webkit spis from opensource

This commit is contained in:
2025-04-11 18:27:59 -07:00
parent 177db26b69
commit 2f4b3c64fe
37 changed files with 2432 additions and 32 deletions

View File

@@ -6,7 +6,6 @@
//
import UIKit
import UIKit_Private.UIKeyCommand_Private
@objc
protocol ShortcutResponder: AnyObject {
@@ -170,14 +169,14 @@ public class KeyboardShortcuts {
modifiers: [.alternate], input: "x",
title: "Raise Script Policy Restriction",
action: #selector(ShortcutResponder.raiseScriptPolicyRestriction)
)._nonRepeatable(),
),
// Lower Script Policy Restriction
UIKeyCommand(
modifiers: [.alternate], input: "c",
title: "Lower Script Policy Restriction",
action: #selector(ShortcutResponder.lowerScriptPolicyRestriction)
)._nonRepeatable(),
),
])
].removeNulls()