Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
index 41096117ba3be5c9a74b62121a42c088b34dc951..79efc5d2b8379b5a8e89d03adb0df51485b050b2 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
@@ -147,5 +147,11 @@ public class ChromeShellTab extends Tab { |
public boolean isFullscreenForTabOrPending() { |
return mIsFullscreen; |
} |
+ |
+ @Override |
+ public void webContentsCreated(long sourceWebContents, long openerRenderFrameId, |
+ String frameName, String targetUrl, long newWebContents) { |
+ mTabManager.createTab(targetUrl, TabLaunchType.FROM_LINK); |
+ } |
} |
} |