| Index: chrome/browser/ui/cocoa/web_dialog_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/web_dialog_window_controller.mm (revision 154977)
|
| +++ chrome/browser/ui/cocoa/web_dialog_window_controller.mm (working copy)
|
| @@ -78,7 +78,8 @@
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| - bool user_gesture) OVERRIDE;
|
| + bool user_gesture,
|
| + bool* was_blocked) OVERRIDE;
|
| virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
|
|
|
| private:
|
| @@ -234,13 +235,15 @@
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| - bool user_gesture) {
|
| + bool user_gesture,
|
| + bool* was_blocked) {
|
| if (delegate_ && delegate_->HandleAddNewContents(
|
| source, new_contents, disposition, initial_pos, user_gesture)) {
|
| return;
|
| }
|
| WebDialogWebContentsDelegate::AddNewContents(
|
| - source, new_contents, disposition, initial_pos, user_gesture);
|
| + source, new_contents, disposition, initial_pos, user_gesture,
|
| + was_blocked);
|
| }
|
|
|
| void WebDialogWindowDelegateBridge::LoadingStateChanged(
|
|
|