forked from ElectronNET/Electron.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
did-start-navigation, did-navigate, will-redirect, did-fail-load, did…
…-redirect-navigation events added for WebContents
- Loading branch information
1 parent
23f4d39
commit bf0bdc8
Showing
6 changed files
with
264 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace ElectronNET.API.Entities; | ||
|
||
/// <summary> | ||
/// 'OnDidFailLoad' event details. | ||
/// </summary> | ||
public class OnDidFailLoadInfo | ||
{ | ||
/// <summary> | ||
/// The full list of error codes and their meaning is available here | ||
/// https://source.chromium.org/chromium/chromium/src/+/main:net/base/net_error_list.h | ||
/// </summary> | ||
public int ErrorCode { get; set; } | ||
|
||
/// <summary> | ||
/// Validated URL. | ||
/// </summary> | ||
public string ValidatedUrl { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace ElectronNET.API.Entities; | ||
|
||
/// <summary> | ||
/// 'OnDidNavigate' event details. | ||
/// </summary> | ||
public class OnDidNavigateInfo | ||
{ | ||
/// <summary> | ||
/// Navigated URL. | ||
/// </summary> | ||
public string Url { get; set; } | ||
|
||
/// <summary> | ||
/// HTTP response code. | ||
/// </summary> | ||
public int HttpResponseCode { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters