Skip to content

Commit aa1a1e5

Browse files
authored
Update FindOnPage.md
1 parent d4be4a6 commit aa1a1e5

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

FindOnPage.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,29 @@ namespace Microsoft.Web.WebView2.Core
514514
Backward,
515515
};
516516

517+
///
518+
/// Interface responsible for providing access the find operation functionalities in the CoreWebView2.
519+
///
520+
// MSOWNERS: core ([email protected])
521+
[uuid(c9a130ca-a807-549c-9d76-8e09ccee3973), object, pointer_default(unique)]
522+
interface ICoreWebView2Staging17 : IUnknown {
523+
/// Retrieves the find operation interface for the current web view.
524+
// MSOWNERS: core ([email protected])
525+
[propget] HRESULT Find([out, retval] ICoreWebView2StagingFind** value);
526+
}
527+
528+
/// Interface that provides methods related to the environment settings of CoreWebView2.
529+
/// This interface allows for the creation of new find configuration objects.
530+
[com_interface("staging=ICoreWebView2StagingEnvironment5")]
531+
[ms_owner("core", "[email protected]")]
532+
interface ICoreWebView2Environment15
533+
{
534+
/// Creates a new instance of a CoreWebView2FindConfiguration object.
535+
/// This configuration object can be used to define parameters for a find operation.
536+
/// Returns the newly created FindConfiguration object.
537+
CoreWebView2FindConfiguration CreateFindConfiguration();
538+
};
539+
517540
runtimeclass CoreWebView2FindConfiguration : [default]ICoreWebView2FindConfiguration {}
518541

519542
/// Interface defining the find configuration.
@@ -623,7 +646,12 @@ runtimeclass CoreWebView2FindConfiguration : [default]ICoreWebView2FindConfigura
623646
[event_handler("", "", "")]
624647
event Windows.Foundation.TypedEventHandler<CoreWebView2Find, Object> ActiveMatchIndexChanged;
625648
};
626-
}
649+
650+
651+
652+
653+
}
654+
}
627655
```
628656

629657
# Appendix

0 commit comments

Comments
 (0)