Skip to content

Commit

Permalink
Fixed some issues in XML comments
Browse files Browse the repository at this point in the history
Added more XML documentation
Added links to MfPack and PasDoc in the README.md file
  • Loading branch information
salvadordf committed Aug 28, 2023
1 parent a59ad9c commit a8d0a1d
Show file tree
Hide file tree
Showing 5 changed files with 480 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ You can also support this project with Liberapay.
* [CEF4Delphi](https://github.com/salvadordf/CEF4Delphi)
* [OldCEF4Delphi](https://github.com/salvadordf/OldCEF4Delphi)
* [Chromium](https://chromium.googlesource.com/chromium/src/)
* [MfPack](https://github.com/FactoryXCode/MfPack)
* [PasDoc](https://pasdoc.github.io/)

## Other resources
* [Learn Delphi](https://learndelphi.org/)
Expand Down
Binary file modified docs/WebView4Delphi.chm
Binary file not shown.
12 changes: 6 additions & 6 deletions source/uWVBrowserBase.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents)
/// should clear the data between. The `startTime` and `endTime`
/// parameters correspond to the number of seconds since the UNIX epoch.</para>
/// <para>`startTime` is inclusive while `endTime` is exclusive, therefore the data will
/// be cleared between [startTime, endTime).</para>
/// be cleared between startTime and endTime.</para>
/// <para>This function is asynchronous and it triggers the TWVBrowserBase.OnClearBrowsingDataCompleted event when it finishes executing.</para>
/// </summary>
/// <remarks>
Expand Down Expand Up @@ -1464,7 +1464,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents)
property IgnoreCertificateErrors : boolean read FIgnoreCertificateErrors write SetIgnoreCertificateErrors;

// Properties used in the ICoreWebView2Environment creation
property BrowserExecPath : wvstring read FBrowserExecPath write FBrowserExecPath; // CreateCoreWebView2EnvironmentWithOptions "browserExecutableFolder" parameter
property BrowserExecPath : wvstring read FBrowserExecPath write FBrowserExecPath;
/// <summary>
/// Returns the user data folder that all CoreWebView2's created from this
/// environment are using.
Expand Down Expand Up @@ -2094,7 +2094,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents)
/// <remarks>
/// <para><see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_cursor">See the ICoreWebView2CompositionController article.</see></para>
/// </remarks>
property Cursor : HCURSOR read GetCursor; // ICoreWebView2CompositionController.get_Cursor
property Cursor : HCURSOR read GetCursor;
/// <summary>
/// The RootVisualTarget is a visual in the hosting app's visual tree. This
/// visual is where the WebView will connect its visual tree. The app uses
Expand All @@ -2110,7 +2110,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents)
/// <remarks>
/// <para><see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_rootvisualtarget">See the ICoreWebView2CompositionController article.</see></para>
/// </remarks>
property RootVisualTarget : IUnknown read GetRootVisualTarget write SetRootVisualTarget; // ICoreWebView2CompositionController.get_RootVisualTarget
property RootVisualTarget : IUnknown read GetRootVisualTarget write SetRootVisualTarget;
/// <summary>
/// The current system cursor ID reported by the underlying rendering engine
/// for WebView. For example, most of the time, when the cursor is over text,
Expand All @@ -2125,15 +2125,15 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents)
/// <remarks>
/// <para><see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_systemcursorid">See the ICoreWebView2CompositionController article.</see></para>
/// </remarks>
property SystemCursorID : cardinal read GetSystemCursorID; // ICoreWebView2CompositionController.get_SystemCursorId
property SystemCursorID : cardinal read GetSystemCursorID;
/// <summary>
/// Returns the Automation Provider for the WebView. This object implements
/// IRawElementProviderSimple.
/// </summary>
/// <remarks>
/// <para><see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller2#get_automationprovider">See the ICoreWebView2CompositionController2 article.</see></para>
/// </remarks>
property AutomationProvider : IUnknown read GetAutomationProvider; // ICoreWebView2CompositionController2.get_UIAProvider
property AutomationProvider : IUnknown read GetAutomationProvider;
/// <summary>
/// Returns the `ICoreWebView2ProcessInfoCollection`. Provide a list of all
/// process using same user data folder except for crashpad process.
Expand Down
Loading

0 comments on commit a8d0a1d

Please sign in to comment.