summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/debugger/devtools_client_host.h4
-rw-r--r--chrome/browser/debugger/devtools_manager.cc3
-rw-r--r--chrome/browser/debugger/devtools_window.cc5
-rw-r--r--chrome/browser/debugger/devtools_window.h1
-rw-r--r--chrome/browser/debugger/inspectable_tab_proxy.cc4
-rw-r--r--chrome/browser/debugger/inspectable_tab_proxy.h1
6 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/debugger/devtools_client_host.h b/chrome/browser/debugger/devtools_client_host.h
index 7e1d67d..c6a50cb 100644
--- a/chrome/browser/debugger/devtools_client_host.h
+++ b/chrome/browser/debugger/devtools_client_host.h
@@ -35,10 +35,6 @@ class DevToolsClientHost {
// closing.
virtual void InspectedTabClosing() = 0;
- // This method is called when tab inspected by this devtools client has
- // navigated to some url.
- virtual void SetInspectedTabUrl(const std::string& url) = 0;
-
// Sends the message to the devtools client hosted by this object.
virtual void SendMessageToClient(const IPC::Message& msg) = 0;
diff --git a/chrome/browser/debugger/devtools_manager.cc b/chrome/browser/debugger/devtools_manager.cc
index 9c8e7bc..582cc90 100644
--- a/chrome/browser/debugger/devtools_manager.cc
+++ b/chrome/browser/debugger/devtools_manager.cc
@@ -91,8 +91,6 @@ void DevToolsManager::OpenDevToolsWindow(RenderViewHost* inspected_rvh) {
inspected_rvh->site_instance()->browsing_instance()->profile());
RegisterDevToolsClientHostFor(inspected_rvh, host);
}
- host->SetInspectedTabUrl(
- inspected_rvh->delegate()->GetURL().possibly_invalid_spec());
DevToolsWindow* window = host->AsDevToolsWindow();
if (window)
window->Show();
@@ -145,7 +143,6 @@ void DevToolsManager::OnNavigatingToPendingEntry(RenderViewHost* inspected_rvh,
DevToolsClientHost* client_host =
GetDevToolsClientHostFor(inspected_rvh);
if (client_host) {
- client_host->SetInspectedTabUrl(gurl.possibly_invalid_spec());
inspected_rvh_to_client_host_.erase(inspected_rvh);
inspected_rvh_to_client_host_[dest_rvh] = client_host;
client_host_to_inspected_rvh_[client_host] = dest_rvh;
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 44edd87..7ac6c05 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -60,11 +60,6 @@ void DevToolsWindow::InspectedTabClosing() {
browser_->CloseAllTabs();
}
-void DevToolsWindow::SetInspectedTabUrl(const std::string& url) {
- inspected_url_ = url;
- //TODO(pfeldman): Restore this.
-}
-
void DevToolsWindow::SendMessageToClient(const IPC::Message& message) {
RenderViewHost* target_host = tab_contents_->render_view_host();
IPC::Message* m = new IPC::Message(message);
diff --git a/chrome/browser/debugger/devtools_window.h b/chrome/browser/debugger/devtools_window.h
index e7be7c5..99d4e36 100644
--- a/chrome/browser/debugger/devtools_window.h
+++ b/chrome/browser/debugger/devtools_window.h
@@ -36,7 +36,6 @@ class DevToolsWindow : public DevToolsClientHost,
// DevToolsClientHost override.
virtual DevToolsWindow* AsDevToolsWindow();
virtual void InspectedTabClosing();
- virtual void SetInspectedTabUrl(const std::string& url);
virtual void SendMessageToClient(const IPC::Message& message);
// TabStripModelObserver implementation
diff --git a/chrome/browser/debugger/inspectable_tab_proxy.cc b/chrome/browser/debugger/inspectable_tab_proxy.cc
index 13bff6d..097b817 100644
--- a/chrome/browser/debugger/inspectable_tab_proxy.cc
+++ b/chrome/browser/debugger/inspectable_tab_proxy.cc
@@ -23,10 +23,6 @@ void DevToolsClientHostImpl::InspectedTabClosing() {
delete this;
}
-void DevToolsClientHostImpl::SetInspectedTabUrl(const std::string& url) {
- // TODO(apavlov): Notify debugger on the url update if necessary.
-}
-
void DevToolsClientHostImpl::SendMessageToClient(
const IPC::Message& msg) {
IPC_BEGIN_MESSAGE_MAP(DevToolsClientHostImpl, msg)
diff --git a/chrome/browser/debugger/inspectable_tab_proxy.h b/chrome/browser/debugger/inspectable_tab_proxy.h
index 0361c2d..104b957 100644
--- a/chrome/browser/debugger/inspectable_tab_proxy.h
+++ b/chrome/browser/debugger/inspectable_tab_proxy.h
@@ -72,7 +72,6 @@ class DevToolsClientHostImpl : public DevToolsClientHost {
// DevToolsClientHost interface
virtual void InspectedTabClosing();
- virtual void SetInspectedTabUrl(const std::string& url);
virtual void SendMessageToClient(const IPC::Message& msg);
private: