#include "content/browser/renderer_host/view_transition_commit_deferring_condition.h"
#include "base/memory/ptr_util.h"
#include "content/browser/renderer_host/frame_tree.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/navigation_request.h"
#include "content/browser/renderer_host/view_transition_opt_in_state.h"
#include "content/public/common/content_features.h"
#include "third_party/blink/public/common/features_generated.h"
#include "third_party/blink/public/common/frame/view_transition_state.h"
namespace content {
std::unique_ptr<CommitDeferringCondition>
ViewTransitionCommitDeferringCondition::MaybeCreate(
NavigationRequest& navigation_request) { … }
ViewTransitionCommitDeferringCondition::ViewTransitionCommitDeferringCondition(
NavigationRequest& navigation_request)
: … { … }
ViewTransitionCommitDeferringCondition::
~ViewTransitionCommitDeferringCondition() { … }
CommitDeferringCondition::Result
ViewTransitionCommitDeferringCondition::WillCommitNavigation(
base::OnceClosure resume) { … }
void ViewTransitionCommitDeferringCondition::OnSnapshotTimeout() { … }
base::TimeDelta
ViewTransitionCommitDeferringCondition::GetSnapshotCallbackTimeout() const { … }
void ViewTransitionCommitDeferringCondition::OnSnapshotAckFromRenderer(
const blink::ViewTransitionState& view_transition_state) { … }
}