Skip to content

Commit 9cb6da2

Browse files
author
Wangsong Jin
committed
Update FrameProcessInfo.md
1 parent 29d0d74 commit 9cb6da2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

specs/FrameProcesssInfo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ the `FrameId` property. This property represents the unique identifier of
3939
the frame running in this `CoreWebView2` or `CoreWebView2Frame`.
4040

4141
* We propose extending `CoreWebView2FrameInfo` to include `FrameId`,
42-
`FrameKind` and `ParentFrameInfo` properties. `FrameId` is the same
42+
`FrameKind` and `ParentFrameInfo` properties. `FrameId` is the same
4343
kind of ID as with `FrameID` in `CoreWebView2` and `CoreWebView2Frame`.
4444
`ParentFrameInfo` supports to retrive a frame's direct parent, ancestor
4545
first level frame and ancestor main frame. This also can be used to
@@ -394,7 +394,7 @@ interface ICoreWebView2GetProcessInfosWithDetailsCompletedHandler;
394394
// Indicates the frame type used in the `ICoreWebView2FrameInfo2` interface.
395395
[v1_enum]
396396
typedef enum COREWEBVIEW2_FRAME_KIND {
397-
/// Indicates that the frame is type of frame we don't differentiate.
397+
/// Indicates that the frame is type of frame we don't differentiate yet.
398398
COREWEBVIEW2_FRAME_KIND_OTHER,
399399
/// Indicates that the frame is a primary main frame(webview).
400400
COREWEBVIEW2_FRAME_KIND_MAIN_FRAME,
@@ -416,12 +416,12 @@ interface ICoreWebView2ProcessInfo2 : ICoreWebView2ProcessInfo {
416416
/// The collection of associated `FrameInfo`s which are actively running
417417
/// (showing UI elements) in this renderer process. `AssociatedFrameInfos`
418418
/// will only be populated when obtained via calling
419-
/// `CoreWebView2.GetProcessInfosWithDetails` and when this
419+
/// `CoreWebView2Environment.GetProcessInfosWithDetails` and when this
420420
/// `CoreWebView2ProcessInfo` corresponds to a renderer process.
421-
/// `CoreWebView2ProcessInfo` objects obtained via `CoreWebView2.GetProcessInfos`
422-
/// or for non-renderer processes will always have an empty `AssociatedFrameInfos`.
423-
/// The `AssociatedFrameInfos` may also be empty for renderer processes that
424-
/// have no active frames.
421+
/// `CoreWebView2ProcessInfo` objects obtained via `CoreWebView2Environment.
422+
/// GetProcessInfos` or for non-renderer processes will always have an empty
423+
/// `AssociatedFrameInfos`. The `AssociatedFrameInfos` may also be empty for
424+
/// renderer processes that have no active frames.
425425
///
426426
/// \snippet ProcessComponent.cpp AssociatedFrameInfos
427427
[propget] HRESULT AssociatedFrameInfos(
@@ -436,7 +436,7 @@ interface ICoreWebView2Environment14 : ICoreWebView2Environment13 {
436436
/// for crashpad process. This provide the same list of `ProcessInfo`s as
437437
/// what's provided in `GetProcessInfos`. Plus, this provide a list of associated
438438
/// `FrameInfo`s which are actively running (showing UI elements) in the renderer
439-
/// process. Check `AssociatedFrameInfos` for acquiring this detail infos.
439+
/// process. Check `AssociatedFrameInfos` for acquiring this detail information.
440440
///
441441
/// \snippet ProcessComponent.cpp GetProcessInfosWithDetails
442442
HRESULT GetProcessInfosWithDetails([in] ICoreWebView2GetProcessInfosWithDetailsCompletedHandler* handler);

0 commit comments

Comments
 (0)