use AtomEventProcessingWindow as native window.
This commit is contained in:
parent
3391370857
commit
af94c434ac
4 changed files with 43 additions and 6 deletions
|
@ -78,6 +78,14 @@ void NativeWindow::InitFromOptions(base::DictionaryValue* options) {
|
|||
Show();
|
||||
}
|
||||
|
||||
void NativeWindow::ShowDevTools() {
|
||||
inspectable_web_contents()->ShowDevTools();
|
||||
}
|
||||
|
||||
void NativeWindow::CloseDevTools() {
|
||||
// inspectable_web_contents()->CloseDevTools();
|
||||
}
|
||||
|
||||
content::WebContents* NativeWindow::GetWebContents() const {
|
||||
return inspectable_web_contents_->GetWebContents();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue