• Alex Turner's avatar
    Expose IsWaitingToCommit() on NavigationHandle · 12519ebe
    Alex Turner authored
    Currently, it is only defined on NavigationRequests. Defining it on
    the handles too will allow for easy determination of when a navigation
    has passed through ReadyToCommitNavigation(), i.e. via HasCommitted() ||
    IsWaitingToCommit(). Note that some navigations can pass through
    ReadyToCommitNavigation() without eventually committing -- e.g. due to a
    doc.write. Adding this call will simplify handling of these edge cases.
    
    Bug: 1101584
    Change-Id: I7c272ef2768a901b8988bfe8e28ae1a0c3ef2ca9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536389Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
    Commit-Queue: Alex Turner <alexmt@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#827933}
    12519ebe
navigation_handle.h 20.4 KB