@@ -278,13 +278,13 @@ typedef enum COREWEBVIEW2_FIND_DIRECTION {
278
278
// / This interface allows for the creation of new Find options objects.
279
279
// MSOWNERS: core ([email protected] )
280
280
[uuid(f10bddd3-bb59-5d5b-8748 -8a1a53f65d0c), object, pointer_default(unique)]
281
- interface ICoreWebView2StagingEnvironment5 : IUnknown {
281
+ interface ICoreWebView2Environment5 : IUnknown {
282
282
/// Creates a new instance of a FindOptions object.
283
283
/// This options object can be used to define parameters for a Find operation.
284
284
/// Returns the newly created FindOptions object.
285
285
// MSOWNERS: core (
[email protected] )
286
286
HRESULT CreateFindOptions(
287
- [ out, retval] ICoreWebView2StagingFindOptions ** value
287
+ [ out, retval] ICoreWebView2FindOptions ** value
288
288
);
289
289
290
290
@@ -293,26 +293,26 @@ interface ICoreWebView2StagingEnvironment5 : IUnknown {
293
293
294
294
// / Receives the result of the `StartFind` method.
295
295
[uuid(7c20f8b0-c14e-5135 -a099-6c9d11d59dd1), object, pointer_default(unique)]
296
- interface ICoreWebView2StagingFindStartFindCompletedHandler : IUnknown {
296
+ interface ICoreWebView2indStartFindCompletedHandler : IUnknown {
297
297
298
298
/// Provides the result of the corresponding asynchronous method.
299
299
HRESULT Invoke([ in] HRESULT errorCode);
300
300
}
301
301
302
302
// / Receives `FindActiveMatchIndexChanged` events.
303
303
[uuid(8d3422bf-66df-5bae-9916 -71fd23d5bef6), object, pointer_default(unique)]
304
- interface ICoreWebView2StagingFindActiveMatchIndexChangedEventHandler : IUnknown {
304
+ interface ICoreWebView2FindActiveMatchIndexChangedEventHandler : IUnknown {
305
305
/// Provides the event args for the corresponding event.
306
306
HRESULT Invoke(
307
- [ in] ICoreWebView2StagingFind * sender,
307
+ [ in] ICoreWebView2Find * sender,
308
308
[ in] IUnknown* args);
309
309
}
310
310
// / Receives `FindMatchCountChanged` events.
311
311
[uuid(cecb8e8f-b6c8-55c3-98b1-68fd1e2b9eea), object, pointer_default(unique)]
312
- interface ICoreWebView2StagingFindMatchCountChangedEventHandler : IUnknown {
312
+ interface ICoreWebView2FindMatchCountChangedEventHandler : IUnknown {
313
313
/// Provides the event args for the corresponding event.
314
314
HRESULT Invoke(
315
- [ in] ICoreWebView2StagingFind * sender,
315
+ [ in] ICoreWebView2Find * sender,
316
316
[ in] IUnknown* args);
317
317
}
318
318
@@ -321,7 +321,7 @@ interface ICoreWebView2StagingFindMatchCountChangedEventHandler : IUnknown {
321
321
// / This interface allows for finding text, navigation between matches, and customization of the Find UI.
322
322
// MSOWNERS: core ([email protected] )
323
323
[uuid(9c494a0a-c5d8-5fee-b7e6-4926d8d7b391), object, pointer_default(unique)]
324
- interface ICoreWebView2StagingFind : IUnknown {
324
+ interface ICoreWebView2Find : IUnknown {
325
325
/// Retrieves the index of the currently active match in the Find session. Returns the index of the currently active match, or -1 if there is no active match.
326
326
// MSOWNERS: core (
[email protected] )
327
327
[ propget] HRESULT ActiveMatchIndex([ out, retval] UINT32* value);
@@ -357,7 +357,7 @@ interface ICoreWebView2StagingFind : IUnknown {
357
357
/// Registers an event handler for the ActiveMatchIndexChanged event. This event is raised when the index of the currently active match changes. This can happen when the user navigates to a different match or when the active match is changed programmatically. The parameter is the event handler to be added. Returns a token representing the added event handler. This token can be used to unregister the event handler.
358
358
// MSOWNERS: core (
[email protected] )
359
359
HRESULT add_ActiveMatchIndexChanged(
360
- [ in] ICoreWebView2StagingActiveMatchIndexChangedEventHandler * eventHandler,
360
+ [ in] ICoreWebView2ActiveMatchIndexChangedEventHandler * eventHandler,
361
361
[ out] EventRegistrationToken* token);
362
362
363
363
/// Removes an event handler previously added with ` add_ActiveMatchIndexChanged ` .
@@ -369,7 +369,7 @@ interface ICoreWebView2StagingFind : IUnknown {
369
369
/// Registers an event handler for the MatchCountChanged event. This event is raised when the total count of matches in the document changes due to a new Find operation or changes in the document. /// The parameter is the event handler to be added. Returns a token representing the added event handler. This token can be used to unregister the event handler.
370
370
// MSOWNERS: core (
[email protected] )
371
371
HRESULT add_MatchCountChanged(
372
- [ in] ICoreWebView2StagingMatchCountChangedEventHandler * eventHandler,
372
+ [ in] ICoreWebView2MatchCountChangedEventHandler * eventHandler,
373
373
[ out] EventRegistrationToken* token);
374
374
375
375
/// Removes an event handler previously added with ` add_MatchCountChanged ` .
@@ -385,8 +385,8 @@ interface ICoreWebView2StagingFind : IUnknown {
385
385
/// This method is primarily designed for HTML document queries.
386
386
// MSOWNERS: core (
[email protected] )
387
387
HRESULT StartFind(
388
- [ in] ICoreWebView2StagingFindOptions * options
389
- , [ in] ICoreWebView2StagingFindStartFindCompletedHandler * handler
388
+ [ in] ICoreWebView2FindOptions * options
389
+ , [ in] ICoreWebView2FindStartFindCompletedHandler * handler
390
390
);
391
391
392
392
/// Navigates to the next match in the document.
@@ -413,7 +413,7 @@ interface ICoreWebView2StagingFind : IUnknown {
413
413
// / This interface provides the necessary methods and properties to configure a Find operation.
414
414
// MSOWNERS: core ([email protected] )
415
415
[uuid(52a04b23-acc8-5659 -aa2f-26dbe9faafde), object, pointer_default(unique)]
416
- interface ICoreWebView2StagingFindOptions : IUnknown {
416
+ interface ICoreWebView2FindOptions : IUnknown {
417
417
/// Gets the ` FindDirection ` property.
418
418
// MSOWNERS: core (
[email protected] )
419
419
[ propget] HRESULT FindDirection([ out, retval] COREWEBVIEW2_FIND_DIRECTION* value);
@@ -465,10 +465,10 @@ interface ICoreWebView2StagingFindOptions : IUnknown {
465
465
// /
466
466
// MSOWNERS: core ([email protected] )
467
467
[uuid(c9a130ca-a807-549c-9d76-8e09ccee3973), object, pointer_default(unique)]
468
- interface ICoreWebView2Staging17 : IUnknown {
468
+ interface ICoreWebView2_17 : IUnknown {
469
469
/// Retrieves the Find operation interface for the current web view.
470
470
// MSOWNERS: core (
[email protected] )
471
- [ propget] HRESULT Find([ out, retval] ICoreWebView2StagingFind ** value);
471
+ [ propget] HRESULT Find([ out, retval] ICoreWebView2Find ** value);
472
472
473
473
474
474
@@ -501,7 +501,7 @@ namespace Microsoft.Web.WebView2.Core
501
501
/// <com >
502
502
/// Interface providing methods to access the Find operation functionalities in the CoreWebView2.
503
503
/// </com >
504
- [com_interface (" staging=ICoreWebView2Staging17 " )]
504
+ [com_interface (" staging=ICoreWebView2_17 " )]
505
505
[
ms_owner (
" core" ,
" [email protected] " )]
506
506
interface ICoreWebView2_25
507
507
{
@@ -511,7 +511,7 @@ namespace Microsoft.Web.WebView2.Core
511
511
512
512
/// Interface that provides methods related to the environment settings of CoreWebView2.
513
513
/// This interface allows for the creation of new Find options objects.
514
- [com_interface (" staging=ICoreWebView2StagingEnvironment5 " )]
514
+ [com_interface (" staging=ICoreWebView2Environment5 " )]
515
515
[
ms_owner (
" core" ,
" [email protected] " )]
516
516
interface ICoreWebView2Environment15
517
517
{
@@ -525,7 +525,7 @@ runtimeclass CoreWebView2FindOptions : [default]ICoreWebView2FindOptions {}
525
525
526
526
/// Interface defining the Find options.
527
527
/// This interface provides the necessary methods and properties to configure a Find operation.
528
- [com_interface (" staging=ICoreWebView2StagingFindOptions " )]
528
+ [com_interface (" staging=ICoreWebView2FindOptions " )]
529
529
[
ms_owner (
" core" ,
" [email protected] " )]
530
530
[availability (" staging" )]
531
531
interface ICoreWebView2FindOptions
0 commit comments