diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 22:36:33 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 22:36:33 +0000 |
commit | db5c20877a4159a01019d183e135e1d713421c09 (patch) | |
tree | 968fb9f83527f2de2f7168fcca5b4821a09a7331 /chrome/browser/profile.cc | |
parent | 26d7ca2a3b70f96e0571295b0919be152598beaa (diff) | |
download | chromium_src-db5c20877a4159a01019d183e135e1d713421c09.zip chromium_src-db5c20877a4159a01019d183e135e1d713421c09.tar.gz chromium_src-db5c20877a4159a01019d183e135e1d713421c09.tar.bz2 |
Stop opening _all_ notification location changes in a new tab. That was allowing unwanted popups from a notification with script that sets window.location=foo.
Instead override some RVHDelegate::View methods to allow popups to be blocked, and new-tab links to open in new tabs; now regular links will navigate the toast. The view methods are implemented using the standard helper.
BUG=28015
TEST=none
Review URL: http://codereview.chromium.org/434041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
0 files changed, 0 insertions, 0 deletions