diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 18:27:46 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 18:27:46 +0000 |
commit | cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2 (patch) | |
tree | 84e486002d42744cea34f59d1b83ab29a0dc5354 /chrome/browser/debugger/devtools_window.cc | |
parent | 2a3197bb6a8a4c6f3a7affadce28cda638906131 (diff) | |
download | chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.zip chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.tar.gz chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.tar.bz2 |
Convert all the notifications which use NavigationController to content::NavigationController. After this is done, we can then make WebContents return a content::NavigationEntry instead of the impl.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/9016047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/devtools_window.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index efa57fe..45e9e779 100644 --- a/chrome/browser/debugger/devtools_window.cc +++ b/chrome/browser/debugger/devtools_window.cc @@ -206,13 +206,13 @@ DevToolsWindow::DevToolsWindow(TabContentsWrapper* tab_contents, registrar_.Add( this, content::NOTIFICATION_LOAD_STOP, - content::Source<NavigationController>( - &tab_contents_->tab_contents()->GetController())); + content::Source<content::NavigationController>( + &tab_contents_->web_contents()->GetController())); registrar_.Add( this, content::NOTIFICATION_TAB_CLOSING, - content::Source<NavigationController>( - &tab_contents_->tab_contents()->GetController())); + content::Source<content::NavigationController>( + &tab_contents_->web_contents()->GetController())); registrar_.Add( this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED, @@ -483,8 +483,8 @@ void DevToolsWindow::Observe(int type, DoAction(); AddDevToolsExtensionsToClient(); } else if (type == content::NOTIFICATION_TAB_CLOSING) { - if (content::Source<NavigationController>(source).ptr() == - &tab_contents_->tab_contents()->GetController()) { + if (content::Source<content::NavigationController>(source).ptr() == + &tab_contents_->web_contents()->GetController()) { // This happens when browser closes all of its tabs as a result // of window.Close event. // Notify manager that this DevToolsClientHost no longer exists and |