From a3d5a2fc45ce000515b04666aa2fa7ad2d30e288 Mon Sep 17 00:00:00 2001 From: Fernando Bunn Date: Thu, 28 Nov 2024 16:22:19 -0300 Subject: [PATCH] AI Chat config changes (#1103) **Required**: Task/Issue URL: https://app.asana.com/0/1204167627774280/1208839072951136/f iOS PR: https://github.com/duckduckgo/iOS/pull/3645 macOS PR: https://github.com/duckduckgo/macos-browser/pull/3610 What kind of version bump will this require?: Minor **Optional**: Tech Design URL: CC: **Description**: Adds 2 new feature for iOS AI Chat integration --- .../PrivacyConfig/Features/PrivacyFeature.swift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift b/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift index fc79ba107..365cb3778 100644 --- a/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift +++ b/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift @@ -106,11 +106,17 @@ public enum AIChatSubfeature: String, Equatable, PrivacySubfeature { .aiChat } - /// Displays the settings item for showing a shortcut in the Application Menu + /// Displays the settings item for showing a shortcut in the macOS application menu. case applicationMenuShortcut - /// Displays the settings item for showing a shortcut in the Toolbar + /// Displays the settings item for showing a shortcut in the macOS toolbar. case toolbarShortcut + + /// Displays the AI Chat icon in the iOS browsing menu toolbar. + case browsingToolbarShortcut + + /// Displays the AI Chat icon in the iOS address bar while on a SERP. + case addressBarShortcut } public enum NetworkProtectionSubfeature: String, Equatable, PrivacySubfeature {