Make DevToolsFocused in OS X
This commit is contained in:
parent
c30f458d4f
commit
352f758cd1
3 changed files with 29 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue