diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-13 15:48:09 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-13 15:48:09 +0000 |
commit | a0262433028ad421a7bc4cec99354e58069de872 (patch) | |
tree | 8df39b9a04a398be513d3a837e1cecd385cf996f /chrome/browser/debugger | |
parent | e550214a7d080f514dfeef7e2851345aa6a76669 (diff) | |
download | chromium_src-a0262433028ad421a7bc4cec99354e58069de872.zip chromium_src-a0262433028ad421a7bc4cec99354e58069de872.tar.gz chromium_src-a0262433028ad421a7bc4cec99354e58069de872.tar.bz2 |
TabContents -> WebContentsImpl, part 8.
"Detab" content/browser/debugger.
BUG=105875
TEST=no change
Review URL: http://codereview.chromium.org/10065017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 8 | ||||
-rw-r--r-- | chrome/browser/debugger/devtools_window.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index b3e7e90..2c191e5 100644 --- a/chrome/browser/debugger/devtools_window.cc +++ b/chrome/browser/debugger/devtools_window.cc @@ -240,7 +240,7 @@ DevToolsWindow::~DevToolsWindow() { instances.erase(it); } -void DevToolsWindow::InspectedTabClosing() { +void DevToolsWindow::InspectedContentsClosing() { if (docked_) { // Update dev tools to reflect removed dev tools window. @@ -261,9 +261,9 @@ void DevToolsWindow::InspectedTabClosing() { } } -void DevToolsWindow::TabReplaced(WebContents* new_tab) { +void DevToolsWindow::ContentsReplaced(WebContents* new_contents) { TabContentsWrapper* new_tab_wrapper = - TabContentsWrapper::GetCurrentWrapperForContents(new_tab); + TabContentsWrapper::GetCurrentWrapperForContents(new_contents); DCHECK(new_tab_wrapper); if (!new_tab_wrapper) return; @@ -682,7 +682,7 @@ void DevToolsWindow::ActivateWindow() { void DevToolsWindow::CloseWindow() { DCHECK(docked_); DevToolsManager::GetInstance()->ClientHostClosing(frontend_host_); - InspectedTabClosing(); + InspectedContentsClosing(); } void DevToolsWindow::MoveWindow(int x, int y) { diff --git a/chrome/browser/debugger/devtools_window.h b/chrome/browser/debugger/devtools_window.h index effd442..6d5f1bc 100644 --- a/chrome/browser/debugger/devtools_window.h +++ b/chrome/browser/debugger/devtools_window.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -66,8 +66,8 @@ class DevToolsWindow : private content::NotificationObserver, virtual ~DevToolsWindow(); // Overridden from DevToolsClientHost. - virtual void InspectedTabClosing() OVERRIDE; - virtual void TabReplaced(content::WebContents* new_tab) OVERRIDE; + virtual void InspectedContentsClosing() OVERRIDE; + virtual void ContentsReplaced(content::WebContents* new_contents) OVERRIDE; content::RenderViewHost* GetRenderViewHost(); void Show(DevToolsToggleAction action); |