Enable navigation from webview
This commit is contained in:
parent
6336edbe92
commit
4f43c41577
2 changed files with 25 additions and 0 deletions
|
@ -83,6 +83,11 @@ class WebContents : public mate::EventEmitter,
|
|||
virtual mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
|
||||
v8::Isolate* isolate) override;
|
||||
|
||||
// content::WebContentsDelegate:
|
||||
virtual content::WebContents* OpenURLFromTab(
|
||||
content::WebContents* source,
|
||||
const content::OpenURLParams& params) override;
|
||||
|
||||
// content::WebContentsObserver:
|
||||
virtual void RenderViewDeleted(content::RenderViewHost*) override;
|
||||
virtual void RenderProcessGone(base::TerminationStatus status) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue