Index: content/public/test/test_renderer_host.h |
diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h |
index 78a33dbf85795ffd736460882dd355c5e526a7f8..2aaa3ff3e057652443dd3f4a243a2026c8a69d22 100644 |
--- a/content/public/test/test_renderer_host.h |
+++ b/content/public/test/test_renderer_host.h |
@@ -158,6 +158,11 @@ |
int proxy_routing_id, |
bool created_with_opener) = 0; |
+ // Makes the WasHidden/WasShown calls to the RenderWidget that |
+ // tell it it has been hidden or restored from having been hidden. |
+ virtual void SimulateWasHidden() = 0; |
+ virtual void SimulateWasShown() = 0; |
+ |
// Promote ComputeWebkitPrefs to public. |
virtual WebPreferences TestComputeWebkitPrefs() = 0; |
}; |