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

Unified Diff: content/public/test/render_view_test.cc

Issue 2557233002: Revert of Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 166a61e3e4951552d581190985c884cdf757d842..c7f16dac011d375c581dc4fe138b6405789195d8 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -515,7 +515,7 @@ void RenderViewTest::SetFocused(const blink::WebNode& node) {
void RenderViewTest::Reload(const GURL& url) {
CommonNavigationParams common_params(
url, Referrer(), ui::PAGE_TRANSITION_LINK, FrameMsg_Navigate_Type::RELOAD,
- NavigationGestureAuto, true, false, base::TimeTicks(),
+ true, false, base::TimeTicks(),
FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
@@ -650,9 +650,9 @@ void RenderViewTest::GoToOffset(int offset,
CommonNavigationParams common_params(
url, Referrer(), ui::PAGE_TRANSITION_FORWARD_BACK,
- FrameMsg_Navigate_Type::NORMAL, NavigationGestureAuto, true, false,
- base::TimeTicks(), FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(),
- GURL(), LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
+ FrameMsg_Navigate_Type::NORMAL, true, false, base::TimeTicks(),
+ FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
+ LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
RequestNavigationParams request_params;
request_params.page_state = state;
request_params.nav_entry_id = pending_offset + 1;
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698