diff --git a/app/brave_settings_strings.grdp b/app/brave_settings_strings.grdp index 747f2b7b5441..4cfe0659a5b2 100644 --- a/app/brave_settings_strings.grdp +++ b/app/brave_settings_strings.grdp @@ -1089,6 +1089,9 @@ Close + + Remove + Enable NoScript™ diff --git a/browser/resources/settings/brave_default_extensions_page/brave_default_extensions_browser_proxy.ts b/browser/resources/settings/brave_default_extensions_page/brave_default_extensions_browser_proxy.ts index 9f777771daf8..470714db64de 100644 --- a/browser/resources/settings/brave_default_extensions_page/brave_default_extensions_browser_proxy.ts +++ b/browser/resources/settings/brave_default_extensions_page/brave_default_extensions_browser_proxy.ts @@ -10,6 +10,7 @@ export type ExtensionV2 = { id: string name: string description: string + installed: boolean enabled: boolean } @@ -23,6 +24,7 @@ export interface BraveDefaultExtensionsBrowserProxy { isMediaRouterEnabled(): boolean getExtensionsManifestV2(): Promise enableExtensionManifestV2(id: string, enabled: boolean): Promise + removeExtensionManifestV2(id: string): Promise } export class BraveDefaultExtensionsBrowserProxyImpl implements BraveDefaultExtensionsBrowserProxy { @@ -59,7 +61,11 @@ export class BraveDefaultExtensionsBrowserProxyImpl implements BraveDefaultExten } enableExtensionManifestV2(id: string, enabled: boolean) { - return sendWithPromise('enableExtensionManifestV2', id, enabled); + return sendWithPromise('enableExtensionManifestV2', id, enabled) + } + + removeExtensionManifestV2(id:string) { + return sendWithPromise('removeExtensionManifestV2', id) } static getInstance(): BraveDefaultExtensionsBrowserProxy { diff --git a/browser/resources/settings/brave_default_extensions_page/brave_extensions_manifest_v2_subpage.html b/browser/resources/settings/brave_default_extensions_page/brave_extensions_manifest_v2_subpage.html index 91428a317ed7..e3d68de76b35 100644 --- a/browser/resources/settings/brave_default_extensions_page/brave_extensions_manifest_v2_subpage.html +++ b/browser/resources/settings/brave_default_extensions_page/brave_extensions_manifest_v2_subpage.html @@ -46,8 +46,13 @@