Make DevToolsFocused in OS X

This commit is contained in:
Cheng Zhao 2015-09-15 11:24:35 +08:00
parent c30f458d4f
commit 352f758cd1
3 changed files with 29 additions and 0 deletions

View file

@ -608,8 +608,10 @@ void InspectableWebContentsImpl::CloseContents(content::WebContents* source) {
}
void InspectableWebContentsImpl::OnWebContentsFocused() {
#if defined(TOOLKIT_VIEWS)
if (view_->GetDelegate())
view_->GetDelegate()->DevToolsFocused();
#endif
}
void InspectableWebContentsImpl::OnURLFetchComplete(const net::URLFetcher* source) {