Skip to content

Commit

Permalink
Update LoadHandler.OnLoadStart
Browse files Browse the repository at this point in the history
This callback is executed for a number of different reasones, frame loading start is only one of them. In most cases you want to use OnLoadingStateChange.
  • Loading branch information
cztomczak authored Jul 12, 2016
1 parent 223ca82 commit d199672
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api/LoadHandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ calls to OnLoadError and/or OnLoadEnd.
| frame | [Frame](Frame.md) |
| __Return__ | void |

Called when the browser begins loading a frame. The |frame| value will
This callback is called for a number of different reasons, including when
history.pushState or history.replaceState changes the reference fragment
for the currently loaded page. In most cases you want to use
OnLoadingStateChange. In newer CEF there is |transition_type| arg that
provides information about the source of the navigation.

The |frame| value will
never be empty -- call the IsMain() method to check if this frame is the
main frame. Multiple frames may be loading at the same time. Sub-frames may
start or continue loading after the main frame load has ended. This method
Expand Down

0 comments on commit d199672

Please sign in to comment.