Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc

Issue 1048463004: PlzNavigate: track pending commits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed DCHECK + rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
index 3182ca579fd46cec8e0bd1a6e056e6736f800b91..22dd28a0c802f687f2b9af9530e4ce8f83ed4bd3 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
@@ -102,10 +102,10 @@ class OverscrollNavigationOverlayTest : public RenderViewHostImplTestHarness {
// image_delegate_.
GetOverlay()->OnOverscrollCompleting();
if (window) {
- EXPECT_TRUE(contents()->cross_navigation_pending());
+ EXPECT_TRUE(contents()->CrossNavigationPending());
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::BACK);
} else {
- EXPECT_FALSE(contents()->cross_navigation_pending());
+ EXPECT_FALSE(contents()->CrossNavigationPending());
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::NONE);
}
window->SetBounds(gfx::Rect(root_window()->bounds().size()));
@@ -236,7 +236,7 @@ TEST_F(OverscrollNavigationOverlayTest, CancelNavigation) {
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::BACK);
GetOverlay()->OnOverscrollCancelled();
- EXPECT_FALSE(contents()->cross_navigation_pending());
+ EXPECT_FALSE(contents()->CrossNavigationPending());
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::NONE);
}
@@ -251,7 +251,7 @@ TEST_F(OverscrollNavigationOverlayTest, CancelAfterSuccessfulNavigation) {
GetOverlay()->OnOverscrollCancelled();
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::NONE);
- EXPECT_TRUE(contents()->cross_navigation_pending());
+ EXPECT_TRUE(contents()->CrossNavigationPending());
contents()->CommitPendingNavigation();
EXPECT_EQ(contents()->GetURL(), third());
}

Powered by Google App Engine
This is Rietveld 408576698