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

Unified Diff: ios/web/test/web_int_test.mm

Issue 2896623003: Added web::NavigationContext::GetPageTransition. (Closed)
Patch Set: Fixed condition for SetIsCreatedFromHashChange call Created 3 years, 7 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: ios/web/test/web_int_test.mm
diff --git a/ios/web/test/web_int_test.mm b/ios/web/test/web_int_test.mm
index edd8ad3d7d0376ed2bcec709f4aa51adf4f7c78b..e2dd64038a0234d5b93d4415098ca77f41afa008 100644
--- a/ios/web/test/web_int_test.mm
+++ b/ios/web/test/web_int_test.mm
@@ -104,6 +104,7 @@ void WebIntTest::ExecuteBlockAndWaitForLoad(const GURL& url,
void WebIntTest::LoadUrl(const GURL& url) {
ExecuteBlockAndWaitForLoad(url, ^{
web::NavigationManager::WebLoadParams params(url);
+ params.transition_type = ui::PageTransition::PAGE_TRANSITION_TYPED;
navigation_manager()->LoadURLWithParams(params);
});
}

Powered by Google App Engine
This is Rietveld 408576698