| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 19587)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -771,7 +771,6 @@
|
| if (!delegate_)
|
| return;
|
|
|
| -#if defined(OS_WIN) || defined(OS_LINUX)
|
| if ((disposition == NEW_POPUP) && !user_gesture &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisablePopupBlocking)) {
|
| @@ -786,11 +785,6 @@
|
| user_gesture);
|
| }
|
| PopupNotificationVisibilityChanged(ShowingBlockedPopupNotification());
|
| -#else
|
| - // TODO(port): implement the popup blocker stuff
|
| - delegate_->AddNewContents(this, new_contents, disposition, initial_pos,
|
| - user_gesture);
|
| -#endif
|
| }
|
|
|
| void TabContents::CloseAllSuppressedPopups() {
|
| @@ -1084,7 +1078,6 @@
|
| det);
|
| }
|
|
|
| -#if defined(OS_WIN) || defined(OS_LINUX)
|
| void TabContents::CreateBlockedPopupContainerIfNecessary() {
|
| if (blocked_popups_)
|
| return;
|
| @@ -1098,7 +1091,6 @@
|
| CreateBlockedPopupContainerIfNecessary();
|
| blocked_popups_->AddTabContents(new_contents, initial_pos, host);
|
| }
|
| -#endif
|
|
|
| // TODO(brettw) This should be on the TabContentsView.
|
| void TabContents::RepositionSupressedPopupsToFit() {
|
|
|