Fix API changes of WebContentsDelegate
This commit is contained in:
parent
819ab5cd0c
commit
8a138fafd4
4 changed files with 18 additions and 12 deletions
|
@ -235,6 +235,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
bool ShouldCreateWebContents(
|
||||
content::WebContents* web_contents,
|
||||
int route_id,
|
||||
int main_frame_route_id,
|
||||
WindowContainerType window_container_type,
|
||||
const base::string16& frame_name,
|
||||
const GURL& target_url,
|
||||
|
@ -243,7 +244,8 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
content::WebContents* OpenURLFromTab(
|
||||
content::WebContents* source,
|
||||
const content::OpenURLParams& params) override;
|
||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager() override;
|
||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
||||
content::WebContents* source) override;
|
||||
void BeforeUnloadFired(content::WebContents* tab,
|
||||
bool proceed,
|
||||
bool* proceed_to_fire_unload) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue