| Index: ui/web_dialogs/web_dialog_web_contents_delegate.h
|
| ===================================================================
|
| --- ui/web_dialogs/web_dialog_web_contents_delegate.h (revision 153532)
|
| +++ ui/web_dialogs/web_dialog_web_contents_delegate.h (working copy)
|
| @@ -27,7 +27,8 @@
|
| content::BrowserContext* context,
|
| content::WebContents* source,
|
| const content::OpenURLParams& params) = 0;
|
| - virtual void AddNewContents(content::BrowserContext* context,
|
| + // Returns false if the new contents was blocked.
|
| + virtual bool AddNewContents(content::BrowserContext* context,
|
| content::WebContents* source,
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| @@ -57,7 +58,7 @@
|
| content::WebContents* source,
|
| const content::OpenURLParams& params) OVERRIDE;
|
|
|
| - virtual void AddNewContents(content::WebContents* source,
|
| + virtual bool AddNewContents(content::WebContents* source,
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
|
|