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

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

Issue 148083013: Move browser initiated navigation from RenderViewHost to RenderFrameHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ASAN builds. Try 2. Created 6 years, 10 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/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 7bc229e169b480d0c6f1c21a6bdf9bed0f95f0b3..e79ea4fdd523ece8d2ba5275e2d027e815479afb 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -327,9 +327,9 @@ void RenderViewTest::ClearHistory() {
}
void RenderViewTest::Reload(const GURL& url) {
- ViewMsg_Navigate_Params params;
+ FrameMsg_Navigate_Params params;
params.url = url;
- params.navigation_type = ViewMsg_Navigate_Type::RELOAD;
+ params.navigation_type = FrameMsg_Navigate_Type::RELOAD;
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnNavigate(params);
}
@@ -381,8 +381,8 @@ void RenderViewTest::GoToOffset(int offset,
impl->historyForwardListCount() + 1;
int pending_offset = offset + impl->history_list_offset();
- ViewMsg_Navigate_Params navigate_params;
- navigate_params.navigation_type = ViewMsg_Navigate_Type::NORMAL;
+ FrameMsg_Navigate_Params navigate_params;
+ navigate_params.navigation_type = FrameMsg_Navigate_Type::NORMAL;
navigate_params.transition = PAGE_TRANSITION_FORWARD_BACK;
navigate_params.current_history_list_length = history_list_length;
navigate_params.current_history_list_offset = impl->history_list_offset();
@@ -391,7 +391,7 @@ void RenderViewTest::GoToOffset(int offset,
navigate_params.page_state = HistoryItemToPageState(history_item);
navigate_params.request_time = base::Time::Now();
- ViewMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params);
+ FrameMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params);
OnMessageReceived(navigate_message);
// The load actually happens asynchronously, so we pump messages to process

Powered by Google App Engine
This is Rietveld 408576698