summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/language_state.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 00:46:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 00:46:20 +0000
commitcdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323 (patch)
tree4a9218cc8e53e78e565140e5e88d85c29280117e /chrome/browser/tab_contents/language_state.h
parent46a7e02c5bba1b9c68f86befaf586d0b17eb0b04 (diff)
downloadchromium_src-cdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323.zip
chromium_src-cdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323.tar.gz
chromium_src-cdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323.tar.bz2
Convert WebContents to return a content::NavigationController instead of the implementation. Update all the headers in chrome to use the interface only. In a subsequent cl, I'll rename the implementation to NavigationControllerImpl and also get rid of content::NavigationController everywhere.
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/language_state.h')
-rw-r--r--chrome/browser/tab_contents/language_state.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/language_state.h b/chrome/browser/tab_contents/language_state.h
index 8f2abbb..771f013 100644
--- a/chrome/browser/tab_contents/language_state.h
+++ b/chrome/browser/tab_contents/language_state.h
@@ -10,9 +10,8 @@
#include "base/basictypes.h"
-class NavigationController;
-
namespace content {
+class NavigationController;
struct LoadCommittedDetails;
}
@@ -27,7 +26,7 @@ struct LoadCommittedDetails;
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 @@ class LanguageState {
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