Skip to content

Commit 3892f91

Browse files
authored
Update MIDI permission enum
1 parent 7ae1991 commit 3892f91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specs/PermissionManagement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ events for some permission kinds.
1818
The new APIs, `SetPermission` and `GetNonDefaultPermissionSettings`, provide
1919
all the information necessary to build a permission management page where a
2020
user can view and modify existing site permissions. The new permission kinds we will
21-
support are: local font list, automatic downloads, media autoplay, file editing, and system exclusive MIDI message access.
21+
support are: local font list, automatic downloads, media autoplay, file editing, and system exclusive MIDI messages.
2222

2323
See already supported [permission kinds](https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2?view=webview2-1.0.1418.22#corewebview2_permission_kind)
2424
and existing [event args](https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2permissionrequestedeventargs?view=webview2-dotnet-1.0.1418.22).
@@ -384,7 +384,7 @@ typedef enum COREWEBVIEW2_PERMISSION_KIND {
384384
/// (Musical Instrument Digital Interface) devices. Permission is requested
385385
/// when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API)
386386
/// to request access to system exclusive MIDI messages.
387-
COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGE_ACCESS,
387+
COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGES,
388388
} COREWEBVIEW2_PERMISSION_KIND;
389389

390390
/// This is a continuation of the `ICoreWebView2PermissionRequestedEventArgs`
@@ -514,7 +514,7 @@ namespace Microsoft.Web.WebView2.Core
514514
// (Musical Instrument Digital Interface) devices. Permission is requested
515515
// when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API)
516516
// to request access to system exclusive MIDI messages.
517-
MidiSystemExclusiveMessageAccess = 11,
517+
MidiSystemExclusiveMessages = 11,
518518
};
519519
}
520520

0 commit comments

Comments
 (0)