#include "third_party/blink/renderer/core/navigation_api/navigation_api.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/commit_result/commit_result.mojom-blink.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/loader/frame_load_request.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
namespace blink {
HistoryItem* MakeHistoryItemFor(const KURL& url, const String& key) { … }
class NavigationApiTest : public testing::Test { … };
class BeginNavigationClient : public frame_test_helpers::TestWebFrameClient { … };
TEST_F(NavigationApiTest, NavigateEventCtrlClick) { … }
TEST_F(NavigationApiTest, BrowserInitiatedSameDocumentBackForward) { … }
TEST_F(NavigationApiTest, BrowserInitiatedSameDocumentBackForwardWindowStop) { … }
TEST_F(NavigationApiTest, DispatchNavigateEventAfterPurgeMemory) { … }
TEST_F(NavigationApiTest, UpdateForNavigationAfterPurgeMemory) { … }
TEST_F(NavigationApiTest, InformAboutCanceledNavigationAfterPurgeMemory) { … }
}