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

Unified Diff: content/test/web_contents_tester.h

Issue 10381140: Add a method to WebContentsTester to set the loading state of the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/browser/web_contents/test_web_contents.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/web_contents_tester.h
===================================================================
--- content/test/web_contents_tester.h (revision 136630)
+++ content/test/web_contents_tester.h (working copy)
@@ -91,6 +91,9 @@
// emulates what happens on a new navigation.
virtual void NavigateAndCommit(const GURL& url) = 0;
+ // Sets the loading state to the given value.
+ virtual void TestSetIsLoading(bool value) = 0;
+
// Simulates the current RVH notifying that it has unloaded so that the
// pending RVH navigation can proceed.
// Does nothing if no cross-navigation is pending.
« no previous file with comments | « content/browser/web_contents/test_web_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698