summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-06 14:11:44 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-06 14:11:44 +0000
commit45eb472a34c51038aeaee26c75cc109d3e3d3bdc (patch)
treefcc73b1bc9b272c8f44818ff62bf2f1be3ab8f92 /chrome/renderer
parent42f60f1d90bdbff386c7f376671b5c271149c2ed (diff)
downloadchromium_src-45eb472a34c51038aeaee26c75cc109d3e3d3bdc.zip
chromium_src-45eb472a34c51038aeaee26c75cc109d3e3d3bdc.tar.gz
chromium_src-45eb472a34c51038aeaee26c75cc109d3e3d3bdc.tar.bz2
Fix docking behaviour for devtools windows that don't have an associated browser window
BUG=40090 TEST=none Review URL: http://codereview.chromium.org/1567014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/devtools_client.cc8
-rw-r--r--chrome/renderer/devtools_client.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/devtools_client.cc b/chrome/renderer/devtools_client.cc
index 2ab162e..4aaea4b 100644
--- a/chrome/renderer/devtools_client.cc
+++ b/chrome/renderer/devtools_client.cc
@@ -71,13 +71,13 @@ void DevToolsClient::closeWindow() {
render_view_->routing_id()));
}
-void DevToolsClient::dockWindow() {
- render_view_->Send(new ViewHostMsg_DockDevToolsWindow(
+void DevToolsClient::requestDockWindow() {
+ render_view_->Send(new ViewHostMsg_RequestDockDevToolsWindow(
render_view_->routing_id()));
}
-void DevToolsClient::undockWindow() {
- render_view_->Send(new ViewHostMsg_UndockDevToolsWindow(
+void DevToolsClient::requestUndockWindow() {
+ render_view_->Send(new ViewHostMsg_RequestUndockDevToolsWindow(
render_view_->routing_id()));
}
diff --git a/chrome/renderer/devtools_client.h b/chrome/renderer/devtools_client.h
index c8eba9f..8b56884 100644
--- a/chrome/renderer/devtools_client.h
+++ b/chrome/renderer/devtools_client.h
@@ -46,8 +46,8 @@ class DevToolsClient : public WebKit::WebDevToolsFrontendClient {
virtual void activateWindow();
virtual void closeWindow();
- virtual void dockWindow();
- virtual void undockWindow();
+ virtual void requestDockWindow();
+ virtual void requestUndockWindow();
private:
void OnRpcMessage(const DevToolsMessageData& data);