| Index: ui/views/controls/webview/web_dialog_view.cc
|
| ===================================================================
|
| --- ui/views/controls/webview/web_dialog_view.cc (revision 154977)
|
| +++ ui/views/controls/webview/web_dialog_view.cc (working copy)
|
| @@ -281,13 +281,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 WebDialogView::LoadingStateChanged(content::WebContents* source) {
|
|
|