@@ -36,7 +36,7 @@ renderer process.
3636
3737* We propose extending ` CoreWebView2 ` and ` CoreWebView2Frame ` to include
3838the ` FrameId ` property. This property represents the unique identifier of
39- the frame running in this WebView2 or WebView2Frame .
39+ the frame running in this ` CoreWebView2 ` or ` CoreWebView2Frame ` .
4040
4141* We propose extending ` CoreWebView2FrameInfo ` to include ` FrameId ` ,
4242` FrameKind ` and ` ParentFrameInfo ` properties. ` FrameId ` is the same
@@ -295,7 +295,7 @@ string AppendFrameInfo(CoreWebView2FrameInfo frameInfo, string type, string main
295295
296296 return $"{{frame Id:{id} " +
297297 $"| frame Name: {name} " +
298- $"| frame type: {kind } " +
298+ $"| frame type: {type } " +
299299 $"| parent frame Id: {parentId} " +
300300 $"| ancestor main frame Id: {mainFrameId} " +
301301 $"| ancestor first level frame Id: {firstLevelFrameId} " +
@@ -394,12 +394,12 @@ interface ICoreWebView2GetProcessInfosWithDetailsCompletedHandler;
394394// Indicates the frame type used in the `ICoreWebView2FrameInfo2` interface.
395395[v1_enum]
396396typedef enum COREWEBVIEW2_FRAME_KIND {
397+ /// Indicates that the frame is type of frame we don't differentiate.
398+ COREWEBVIEW2_FRAME_KIND_OTHER,
397399 /// Indicates that the frame is a primary main frame(webview).
398400 COREWEBVIEW2_FRAME_KIND_MAIN_FRAME,
399401 /// Indicates that the frame is an iframe.
400402 COREWEBVIEW2_FRAME_KIND_IFRAME,
401- /// Indicates that the frame is another type of frame.
402- COREWEBVIEW2_FRAME_KIND_OTHER,
403403} COREWEBVIEW2_FRAME_KIND;
404404
405405// / Receives the result of the `GetProcessInfosWithDetails` method.
486486``` c# (but really MIDL3)
487487namespace Microsoft .Web .WebView2 .Core
488488{
489+ enum CoreWebView2FrameKind
490+ {
491+ Other = 0 ,
492+ MainFrame = 1 ,
493+ Iframe = 2 ,
494+ };
495+
489496 runtimeclass CoreWebView2ProcessInfo
490497 {
491498 [interface_name (" Microsoft.Web.WebView2.Core.ICoreWebView2ProcessInfo2" )]
0 commit comments