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

Unified Diff: content/test/test_render_view_host.cc

Issue 606113005: Move RenderViewHost swap out state to RenderFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review suggestions Created 6 years, 3 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
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index b243896362e5b5bc2f00518deeb4dd925e7ae8f3..fefc2696cb162c273712d6d47bcbee5950bd2c9e 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -318,21 +318,11 @@ void TestRenderViewHost::SendNavigateWithParameters(
file_path_for_history_item, std::vector<GURL>());
}
-void TestRenderViewHost::SendBeforeUnloadACK(bool proceed) {
- // TODO(creis): Move this whole method to TestRenderFrameHost.
- base::TimeTicks now = base::TimeTicks::Now();
- main_render_frame_host_->OnBeforeUnloadACK(proceed, now, now);
-}
-
void TestRenderViewHost::SetContentsMimeType(const std::string& mime_type) {
contents_mime_type_ = mime_type;
main_render_frame_host_->set_contents_mime_type(mime_type);
}
-void TestRenderViewHost::SimulateSwapOutACK() {
- OnSwappedOut(false);
-}
-
void TestRenderViewHost::SimulateWasHidden() {
WasHidden();
}
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698