• Arthur Hemery's avatar
    Reworking DocumentState creation. · d665b5d8
    Arthur Hemery authored
    Prepares moving DocumentState creation outside of
    DidCreateDocumentLoader. It does a few things:
    
    - Separates the paths between using pending_navigation_params_
    and not using them to build DocumentState.
    - Removes the dependencies on navigation_state in
    DidCreateDocumentLoader. Instead we use the pending_navigation_params_
    directly. Also removes reliance on default constructed values of
    CommonNavigationParams and RequestNavigationParams members.
    - Moved as much things as possible out of the main class into
    utilities in the anonymous namespace.
    - Stripped UpdateNavigationState that is now only used to update same
    document navigation states.
    
    
    Bug: 789577
    Change-Id: I18d12d24827c3289ef909d9253fe8bbf6ca5080f
    Reviewed-on: https://chromium-review.googlesource.com/1109831Reviewed-by: default avatarCamille Lamy <clamy@chromium.org>
    Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Commit-Queue: Arthur Hemery <ahemery@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#571090}
    d665b5d8
render_frame_impl.h 71.3 KB