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

Unified Diff: chrome/browser/tab_contents/language_state.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/browser/tab_contents/language_state.h
===================================================================
--- chrome/browser/tab_contents/language_state.h (revision 116232)
+++ chrome/browser/tab_contents/language_state.h (working copy)
@@ -10,9 +10,8 @@
#include "base/basictypes.h"
-class NavigationController;
-
namespace content {
+class NavigationController;
struct LoadCommittedDetails;
}
@@ -27,7 +26,7 @@
class LanguageState {
public:
- explicit LanguageState(NavigationController* nav_controller);
+ explicit LanguageState(content::NavigationController* nav_controller);
~LanguageState();
// Should be called when the page did a new navigation (whether it is a main
@@ -83,7 +82,7 @@
std::string prev_current_lang_;
// The navigation controller of the tab we are associated with.
- NavigationController* navigation_controller_;
+ content::NavigationController* navigation_controller_;
// Whether it is OK to offer to translate the page. Some pages explictly
// specify that they should not be translated by the browser (this is the case

Powered by Google App Engine
This is Rietveld 408576698