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

Unified Diff: chrome/renderer/devtools_client.cc

Issue 155068: DevTools: preserve focus on activating dev tools window. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/devtools_client.cc
===================================================================
--- chrome/renderer/devtools_client.cc (revision 19929)
+++ chrome/renderer/devtools_client.cc (working copy)
@@ -48,7 +48,8 @@
}
void DevToolsClient::ActivateWindow() {
- render_view_->TakeFocus(render_view_->webview(), false);
+ render_view_->Send(new ViewHostMsg_ActivateDevToolsWindow(
+ render_view_->routing_id()));
}
void DevToolsClient::CloseWindow() {
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698