diff options
author | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 23:03:08 +0000 |
---|---|---|
committer | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 23:03:08 +0000 |
commit | 0a23f974cde41d8375a77d7af3fe32b8435fa4e4 (patch) | |
tree | e52e91a1fd5df20bfc056a5af53ea574f5ec969e /chrome/browser/external_tab_container.h | |
parent | 41949fc0cedfa009608d11d430f126ac47741f45 (diff) | |
download | chromium_src-0a23f974cde41d8375a77d7af3fe32b8435fa4e4.zip chromium_src-0a23f974cde41d8375a77d7af3fe32b8435fa4e4.tar.gz chromium_src-0a23f974cde41d8375a77d7af3fe32b8435fa4e4.tar.bz2 |
On exit do not terminate renderers hosted in external tabs
When a browser window is closed, we just terminate
all existing renderers for fast shutdown. If we have
any renderers hosted externally using automation they
are also killed during this process.
The fix is to prevent fast termination if any of the
tabs are hosted by automation.
Review URL: http://codereview.chromium.org/17453
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r-- | chrome/browser/external_tab_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h index 17be9b2..bd9ab4c 100644 --- a/chrome/browser/external_tab_container.h +++ b/chrome/browser/external_tab_container.h @@ -77,7 +77,7 @@ class ExternalTabContainer : public TabContentsDelegate, virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); virtual void ForwardMessageToExternalHost(const std::string& receiver, const std::string& message); - + virtual bool IsExternalTabContainer() const { return true; }; // Notification service callback. virtual void Observe(NotificationType type, |