detecting focus on devtools webcontents
This commit is contained in:
parent
17f1fc618e
commit
4ae52721c4
3 changed files with 8 additions and 0 deletions
|
@ -241,6 +241,12 @@ void InspectableWebContentsImpl::AppendToFile(
|
|||
delegate_->DevToolsAppendToFile(url, content);
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::WebContentsFocused(
|
||||
content::WebContents* contents) {
|
||||
if (delegate_)
|
||||
delegate_->DevToolsFocused();
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::RequestFileSystems() {
|
||||
devtools_web_contents()->GetMainFrame()->ExecuteJavaScript(
|
||||
base::ASCIIToUTF16("DevToolsAPI.fileSystemsLoaded([])"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue