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

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

Issue 2499313003: 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 ead3a91fb91a03313b43ec81c7a9812555586680..57db9fe9945c137a6db9c7171670b216cf0b8a16 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -514,7 +514,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,
- true, false, base::TimeTicks(),
+ NavigationGestureAuto, true, false, base::TimeTicks(),
FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
@@ -649,9 +649,9 @@ void RenderViewTest::GoToOffset(int offset,
CommonNavigationParams common_params(
url, Referrer(), ui::PAGE_TRANSITION_FORWARD_BACK,
- FrameMsg_Navigate_Type::NORMAL, true, false, base::TimeTicks(),
- FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
- LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
+ FrameMsg_Navigate_Type::NORMAL, NavigationGestureAuto, 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