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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros 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/debugger/devtools_window.cc
===================================================================
--- chrome/browser/debugger/devtools_window.cc (revision 116331)
+++ chrome/browser/debugger/devtools_window.cc (working copy)
@@ -194,7 +194,7 @@
action_on_load_(DEVTOOLS_TOGGLE_ACTION_NONE),
frontend_host_(NULL) {
frontend_host_ = DevToolsClientHost::CreateDevToolsFrontendHost(
- tab_contents->tab_contents(),
+ tab_contents->web_contents(),
this);
g_instances.Get().push_back(this);
// Wipe out page icon so that the default application icon is used.
@@ -257,7 +257,7 @@
}
}
-void DevToolsWindow::TabReplaced(TabContents* new_tab) {
+void DevToolsWindow::TabReplaced(WebContents* new_tab) {
TabContentsWrapper* new_tab_wrapper =
TabContentsWrapper::GetCurrentWrapperForContents(new_tab);
DCHECK(new_tab_wrapper);
« no previous file with comments | « chrome/browser/debugger/devtools_window.h ('k') | chrome/browser/download/chrome_download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698