ShowDevTools should inspect element in existing window (issue #1487)

This commit is contained in:
Marshall Greenblatt
2016-06-10 12:43:53 -04:00
parent acdb4bb564
commit b23c0f1097
3 changed files with 17 additions and 17 deletions

View File

@ -805,6 +805,10 @@ void CefBrowserHostImpl::ShowDevTools(
return;
if (devtools_frontend_) {
if (!inspect_element_at.IsEmpty()) {
devtools_frontend_->InspectElementAt(inspect_element_at.x,
inspect_element_at.y);
}
devtools_frontend_->Focus();
return;
}