| Index: chrome/browser/tab_contents/background_contents.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/background_contents.h (revision 154307)
|
| +++ chrome/browser/tab_contents/background_contents.h (working copy)
|
| @@ -30,8 +30,8 @@
|
| public:
|
| // Called by AddNewContents(). Asks the delegate to attach the opened
|
| // WebContents to a suitable container (e.g. browser) or to show it if it's
|
| - // a popup window.
|
| - virtual void AddWebContents(content::WebContents* new_contents,
|
| + // a popup window. Returns false if the popup was blocked.
|
| + virtual bool AddWebContents(content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| bool user_gesture) = 0;
|
| @@ -53,7 +53,7 @@
|
| virtual bool ShouldSuppressDialogs() OVERRIDE;
|
| virtual void DidNavigateMainFramePostCommit(
|
| content::WebContents* tab) OVERRIDE;
|
| - virtual void AddNewContents(content::WebContents* source,
|
| + virtual bool AddNewContents(content::WebContents* source,
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
|
|