| Index: content/shell/browser/shell_devtools_frontend.cc
|
| diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
|
| index 3c25aa1db20019bb25bf4c699dcdd547cc350c60..aa6afe1aee0829d4adf212ad28fdf88310c8c251 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.cc
|
| +++ b/content/shell/browser/shell_devtools_frontend.cc
|
| @@ -63,9 +63,16 @@ ShellDevToolsFrontend* ShellDevToolsFrontend::Show(
|
| else
|
| shell->LoadURL(delegate->devtools_http_handler()->GetFrontendURL());
|
|
|
| + devtools_frontend->Activate();
|
| + devtools_frontend->Focus();
|
| +
|
| return devtools_frontend;
|
| }
|
|
|
| +void ShellDevToolsFrontend::Activate() {
|
| + frontend_shell_->ActivateContents(web_contents());
|
| +}
|
| +
|
| void ShellDevToolsFrontend::Focus() {
|
| web_contents()->GetView()->Focus();
|
| }
|
|
|