Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Add LoadPageAsync extension #1

Open
amaitland opened this issue Jun 6, 2020 · 1 comment
Open

Feature Request - Add LoadPageAsync extension #1

amaitland opened this issue Jun 6, 2020 · 1 comment
Assignees

Comments

@amaitland
Copy link
Member

https://github.com/cefsharp/CefSharp/blob/cefsharp/83/CefSharp.OffScreen.Example/Program.cs#L127

Add to core framework as extension method.
Look at capturing sync context and continuing on calling thread.
Investigate better naming options for method.

Rough prototype at https://gist.github.com/amaitland/b027f827259bb2834a2879ee12cc6112

Pleaceholer issue. Details will be added shortly.

@amaitland amaitland self-assigned this Jun 6, 2020
@amaitland
Copy link
Member Author

Called when the loading state has changed. This callback will be executed twice -- once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. It will be called before any calls to OnLoadStart and after all calls to OnLoadError and/or OnLoadEnd.

CefLoadHandler::OnLoadingStateChange should be called after OnLoadError which doesn't appear to be the case, to properly deal with errors we'll have to raise an issue upstream.

@amaitland amaitland transferred this issue from cefsharp/CefSharp Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant