Skip to content

Commit c619dbb

Browse files
authored
Update FindOnPage.md
Removed staging from interface names
1 parent 3e608aa commit c619dbb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

FindOnPage.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ typedef enum COREWEBVIEW2_FIND_DIRECTION {
278278
/// This interface allows for the creation of new Find options objects.
279279
// MSOWNERS: core ([email protected])
280280
[uuid(f10bddd3-bb59-5d5b-8748-8a1a53f65d0c), object, pointer_default(unique)]
281-
interface ICoreWebView2StagingEnvironment5 : IUnknown {
281+
interface ICoreWebView2Environment5 : IUnknown {
282282
/// Creates a new instance of a FindOptions object.
283283
/// This options object can be used to define parameters for a Find operation.
284284
/// Returns the newly created FindOptions object.
285285
// MSOWNERS: core ([email protected])
286286
HRESULT CreateFindOptions(
287-
[out, retval] ICoreWebView2StagingFindOptions** value
287+
[out, retval] ICoreWebView2FindOptions** value
288288
);
289289

290290

@@ -293,26 +293,26 @@ interface ICoreWebView2StagingEnvironment5 : IUnknown {
293293

294294
/// Receives the result of the `StartFind` method.
295295
[uuid(7c20f8b0-c14e-5135-a099-6c9d11d59dd1), object, pointer_default(unique)]
296-
interface ICoreWebView2StagingFindStartFindCompletedHandler : IUnknown {
296+
interface ICoreWebView2indStartFindCompletedHandler : IUnknown {
297297

298298
/// Provides the result of the corresponding asynchronous method.
299299
HRESULT Invoke([in] HRESULT errorCode);
300300
}
301301

302302
/// Receives `FindActiveMatchIndexChanged` events.
303303
[uuid(8d3422bf-66df-5bae-9916-71fd23d5bef6), object, pointer_default(unique)]
304-
interface ICoreWebView2StagingFindActiveMatchIndexChangedEventHandler : IUnknown {
304+
interface ICoreWebView2FindActiveMatchIndexChangedEventHandler : IUnknown {
305305
/// Provides the event args for the corresponding event.
306306
HRESULT Invoke(
307-
[in] ICoreWebView2StagingFind* sender,
307+
[in] ICoreWebView2Find* sender,
308308
[in] IUnknown* args);
309309
}
310310
/// Receives `FindMatchCountChanged` events.
311311
[uuid(cecb8e8f-b6c8-55c3-98b1-68fd1e2b9eea), object, pointer_default(unique)]
312-
interface ICoreWebView2StagingFindMatchCountChangedEventHandler : IUnknown {
312+
interface ICoreWebView2FindMatchCountChangedEventHandler : IUnknown {
313313
/// Provides the event args for the corresponding event.
314314
HRESULT Invoke(
315-
[in] ICoreWebView2StagingFind* sender,
315+
[in] ICoreWebView2Find* sender,
316316
[in] IUnknown* args);
317317
}
318318

@@ -321,7 +321,7 @@ interface ICoreWebView2StagingFindMatchCountChangedEventHandler : IUnknown {
321321
/// This interface allows for finding text, navigation between matches, and customization of the Find UI.
322322
// MSOWNERS: core ([email protected])
323323
[uuid(9c494a0a-c5d8-5fee-b7e6-4926d8d7b391), object, pointer_default(unique)]
324-
interface ICoreWebView2StagingFind : IUnknown {
324+
interface ICoreWebView2Find : IUnknown {
325325
/// 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.
326326
// MSOWNERS: core ([email protected])
327327
[propget] HRESULT ActiveMatchIndex([out, retval] UINT32* value);
@@ -357,7 +357,7 @@ interface ICoreWebView2StagingFind : IUnknown {
357357
/// 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.
358358
// MSOWNERS: core ([email protected])
359359
HRESULT add_ActiveMatchIndexChanged(
360-
[in] ICoreWebView2StagingActiveMatchIndexChangedEventHandler* eventHandler,
360+
[in] ICoreWebView2ActiveMatchIndexChangedEventHandler* eventHandler,
361361
[out] EventRegistrationToken* token);
362362

363363
/// Removes an event handler previously added with `add_ActiveMatchIndexChanged`.
@@ -369,7 +369,7 @@ interface ICoreWebView2StagingFind : IUnknown {
369369
/// 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.
370370
// MSOWNERS: core ([email protected])
371371
HRESULT add_MatchCountChanged(
372-
[in] ICoreWebView2StagingMatchCountChangedEventHandler* eventHandler,
372+
[in] ICoreWebView2MatchCountChangedEventHandler* eventHandler,
373373
[out] EventRegistrationToken* token);
374374

375375
/// Removes an event handler previously added with `add_MatchCountChanged`.
@@ -385,8 +385,8 @@ interface ICoreWebView2StagingFind : IUnknown {
385385
/// This method is primarily designed for HTML document queries.
386386
// MSOWNERS: core ([email protected])
387387
HRESULT StartFind(
388-
[in] ICoreWebView2StagingFindOptions* options
389-
, [in] ICoreWebView2StagingFindStartFindCompletedHandler* handler
388+
[in] ICoreWebView2FindOptions* options
389+
, [in] ICoreWebView2FindStartFindCompletedHandler* handler
390390
);
391391

392392
/// Navigates to the next match in the document.
@@ -413,7 +413,7 @@ interface ICoreWebView2StagingFind : IUnknown {
413413
/// This interface provides the necessary methods and properties to configure a Find operation.
414414
// MSOWNERS: core ([email protected])
415415
[uuid(52a04b23-acc8-5659-aa2f-26dbe9faafde), object, pointer_default(unique)]
416-
interface ICoreWebView2StagingFindOptions : IUnknown {
416+
interface ICoreWebView2FindOptions : IUnknown {
417417
/// Gets the `FindDirection` property.
418418
// MSOWNERS: core ([email protected])
419419
[propget] HRESULT FindDirection([out, retval] COREWEBVIEW2_FIND_DIRECTION* value);
@@ -465,10 +465,10 @@ interface ICoreWebView2StagingFindOptions : IUnknown {
465465
///
466466
// MSOWNERS: core ([email protected])
467467
[uuid(c9a130ca-a807-549c-9d76-8e09ccee3973), object, pointer_default(unique)]
468-
interface ICoreWebView2Staging17 : IUnknown {
468+
interface ICoreWebView2_17 : IUnknown {
469469
/// Retrieves the Find operation interface for the current web view.
470470
// MSOWNERS: core ([email protected])
471-
[propget] HRESULT Find([out, retval] ICoreWebView2StagingFind** value);
471+
[propget] HRESULT Find([out, retval] ICoreWebView2Find** value);
472472

473473

474474

@@ -501,7 +501,7 @@ namespace Microsoft.Web.WebView2.Core
501501
/// <com>
502502
/// Interface providing methods to access the Find operation functionalities in the CoreWebView2.
503503
/// </com>
504-
[com_interface("staging=ICoreWebView2Staging17")]
504+
[com_interface("staging=ICoreWebView2_17")]
505505
[ms_owner("core", "[email protected]")]
506506
interface ICoreWebView2_25
507507
{
@@ -511,7 +511,7 @@ namespace Microsoft.Web.WebView2.Core
511511

512512
/// Interface that provides methods related to the environment settings of CoreWebView2.
513513
/// This interface allows for the creation of new Find options objects.
514-
[com_interface("staging=ICoreWebView2StagingEnvironment5")]
514+
[com_interface("staging=ICoreWebView2Environment5")]
515515
[ms_owner("core", "[email protected]")]
516516
interface ICoreWebView2Environment15
517517
{
@@ -525,7 +525,7 @@ runtimeclass CoreWebView2FindOptions : [default]ICoreWebView2FindOptions {}
525525

526526
/// Interface defining the Find options.
527527
/// This interface provides the necessary methods and properties to configure a Find operation.
528-
[com_interface("staging=ICoreWebView2StagingFindOptions")]
528+
[com_interface("staging=ICoreWebView2FindOptions")]
529529
[ms_owner("core", "[email protected]")]
530530
[availability("staging")]
531531
interface ICoreWebView2FindOptions

0 commit comments

Comments
 (0)