From cdcb1dee07b6c8e7fe968b2a5f4199c9c8fb2323 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 4 Jan 2012 00:46:20 +0000 Subject: 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 --- chrome/browser/tab_contents/language_state.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/tab_contents/language_state.cc') diff --git a/chrome/browser/tab_contents/language_state.cc b/chrome/browser/tab_contents/language_state.cc index 6c76677..d57c959 100644 --- a/chrome/browser/tab_contents/language_state.cc +++ b/chrome/browser/tab_contents/language_state.cc @@ -4,10 +4,12 @@ #include "chrome/browser/tab_contents/language_state.h" -#include "content/browser/tab_contents/navigation_controller.h" +#include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_details.h" #include "content/public/browser/navigation_entry.h" +using content::NavigationController; + LanguageState::LanguageState(NavigationController* nav_controller) : navigation_controller_(nav_controller), page_translatable_(false), -- cgit v1.1