diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 21:39:31 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 21:39:31 +0000 |
commit | 634a6f9eb80c3b731d99735a3f4644ac2a9ca6be (patch) | |
tree | 0e5c69056108aa431be9ab96fe8a8da29070df59 /chrome/common | |
parent | a1d906f9a26ee9b56be0bc78210cb5526f01ee2e (diff) | |
download | chromium_src-634a6f9eb80c3b731d99735a3f4644ac2a9ca6be.zip chromium_src-634a6f9eb80c3b731d99735a3f4644ac2a9ca6be.tar.gz chromium_src-634a6f9eb80c3b731d99735a3f4644ac2a9ca6be.tar.bz2 |
Fix window.open()/window.close() regression by disabling window.close() until a message comes back
from the Browser thread saying that it's OK to allow javascript close calls.
ISSUE=http://crbug.com/4007
Review URL: http://codereview.chromium.org/12691
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 0d4076c..8cc598a 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -471,6 +471,12 @@ IPC_BEGIN_MESSAGES(View, 1) std::vector<std::wstring> /* suggestions */, int /* index of default suggestion */) + // Sent by the Browser process to alert a window about whether a blocked + // popup notification is visible. The renderer assumes every new window is a + // blocked popup until notified otherwise. + IPC_MESSAGE_ROUTED1(ViewMsg_PopupNotificationVisiblityChanged, + bool /* Whether it is visible */) + IPC_END_MESSAGES(View) |