browserWindow: adding devtools-focused event
This commit is contained in:
parent
ce3d9f44ff
commit
3aefa5f549
6 changed files with 17 additions and 0 deletions
|
@ -762,6 +762,10 @@ void NativeWindow::DevToolsAppendToFile(const std::string& url,
|
|||
CallDevToolsFunction("DevToolsAPI.appendedToURL", &url_value);
|
||||
}
|
||||
|
||||
void NativeWindow::DevToolsFocused() {
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver, observers_, OnDevToolsFocus());
|
||||
}
|
||||
|
||||
void NativeWindow::ScheduleUnresponsiveEvent(int ms) {
|
||||
if (!window_unresposive_closure_.IsCancelled())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue