diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 15:37:15 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 15:37:15 +0000 |
commit | 992db4c20a063a1009ae28c2cfb5b220701ea301 (patch) | |
tree | 570549ba54be36ea4b81ef446791e1d2e546e6f9 /chrome/common/chrome_content_client.h | |
parent | 08c5fe5d62ec33cd7215bcdcd532d83866076580 (diff) | |
download | chromium_src-992db4c20a063a1009ae28c2cfb5b220701ea301.zip chromium_src-992db4c20a063a1009ae28c2cfb5b220701ea301.tar.gz chromium_src-992db4c20a063a1009ae28c2cfb5b220701ea301.tar.bz2 |
Support window.opener after a process swap.
Changes:
1. Swap out RVHs instead of closing them, so we can return to the same Frame object if we later come back.
2. Filter out messages from swapped out RVHs, in case any are in-flight.
3. Remove the workaround for navigating away from an app.
4. Update tests to reflect the new sequence of events.
BUG=65953
TEST=AppApiTest.AppProcess
TEST=ResourceDispatcherTest.CrossSiteImmediateLoadOnunloadCookie
Review URL: http://codereview.chromium.org/6319001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85134 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.h')
-rw-r--r-- | chrome/common/chrome_content_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h index bd8d78c..b7316b6 100644 --- a/chrome/common/chrome_content_client.h +++ b/chrome/common/chrome_content_client.h @@ -17,6 +17,8 @@ class ChromeContentClient : public content::ContentClient { virtual void SetActiveURL(const GURL& url); virtual void SetGpuInfo(const GPUInfo& gpu_info); virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins); + virtual bool CanSendWhileSwappedOut(const IPC::Message* msg); + virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg); }; } // namespace chrome |