@@ -514,6 +514,29 @@ namespace Microsoft.Web.WebView2.Core
514
514
Backward ,
515
515
};
516
516
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
+
517
540
runtimeclass CoreWebView2FindConfiguration : [default ]ICoreWebView2FindConfiguration {}
518
541
519
542
/// Interface defining the find configuration.
@@ -623,7 +646,12 @@ runtimeclass CoreWebView2FindConfiguration : [default]ICoreWebView2FindConfigura
623
646
[event _handler (" " , " " , " " )]
624
647
event Windows.Foundation.TypedEventHandler<CoreWebView2Find, Object> ActiveMatchIndexChanged;
625
648
};
626
- }
649
+
650
+
651
+
652
+
653
+ }
654
+ }
627
655
```
628
656
629
657
# Appendix
0 commit comments