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

Unified Diff: content/browser/web_contents/test_web_contents.cc

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.h ('k') | content/test/web_contents_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/test_web_contents.cc
===================================================================
--- content/browser/web_contents/test_web_contents.cc (revision 136630)
+++ content/browser/web_contents/test_web_contents.cc (working copy)
@@ -115,6 +115,10 @@
CommitPendingNavigation();
}
+void TestWebContents::TestSetIsLoading(bool value) {
+ SetIsLoading(value, NULL);
+}
+
void TestWebContents::CommitPendingNavigation() {
// If we are doing a cross-site navigation, this simulates the current RVH
// notifying that it has unloaded so the pending RVH is resumed and can
« no previous file with comments | « content/browser/web_contents/test_web_contents.h ('k') | content/test/web_contents_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698