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

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

Issue 8983010: Convert WebContents to return a content::NavigationController instead of the implementation. Upda... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 12 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/browser_with_test_window_test.h
===================================================================
--- chrome/test/base/browser_with_test_window_test.h (revision 116232)
+++ chrome/test/base/browser_with_test_window_test.h (working copy)
@@ -19,7 +19,6 @@
#endif
class GURL;
-class NavigationController;
#if defined(USE_AURA)
namespace aura {
@@ -30,6 +29,7 @@
#endif
namespace content {
+class NavigationController;
class WebContents;
}
@@ -91,13 +91,13 @@
// Commits the pending load on the given controller. It will keep the
// URL of the pending load. If there is no pending load, this does nothing.
- void CommitPendingLoad(NavigationController* controller);
+ void CommitPendingLoad(content::NavigationController* controller);
// Creates a pending navigation on the given navigation controller to the
// given URL with the default parameters and the commits the load with a page
// ID one larger than any seen. This emulates what happens on a new
// navigation.
- void NavigateAndCommit(NavigationController* controller,
+ void NavigateAndCommit(content::NavigationController* controller,
const GURL& url);
// Navigates the current tab. This is a wrapper around NavigateAndCommit.

Powered by Google App Engine
This is Rietveld 408576698