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

Unified Diff: chrome/test/base/chrome_render_view_host_test_harness.h

Issue 1743143002: Remove WebContents::Was{Hidden,Shown}() from the content public interface Base URL: https://chromium.googlesource.com/chromium/src.git@20160225-WebContents-DicardCursorRects
Patch Set: Fix androido Created 4 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: chrome/test/base/chrome_render_view_host_test_harness.h
diff --git a/chrome/test/base/chrome_render_view_host_test_harness.h b/chrome/test/base/chrome_render_view_host_test_harness.h
index ebba6c7930fb1b3bed06765df2166d04bb731e7b..a79ffc3b82d6fdd4277f80513b291db6bd32b6a2 100644
--- a/chrome/test/base/chrome_render_view_host_test_harness.h
+++ b/chrome/test/base/chrome_render_view_host_test_harness.h
@@ -24,6 +24,10 @@ class ChromeRenderViewHostTestHarness
TestingProfile* profile();
+ // Simulate the WebContents being shown or hidden.
+ void SimulateShow();
+ void SimulateHide();
+
protected:
// testing::Test
void TearDown() override;

Powered by Google App Engine
This is Rietveld 408576698