diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 15:04:27 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 15:04:27 +0000 |
commit | 9cddb1a26ca716f6e3f42bc8d7180a2809afea69 (patch) | |
tree | 62c18c1dec6a8c9efda6ddb0054441d51054cccc /chrome/browser/notifications | |
parent | b60ae4b0ea0bcdd455e45a4971da0ddfc6464c69 (diff) | |
download | chromium_src-9cddb1a26ca716f6e3f42bc8d7180a2809afea69.zip chromium_src-9cddb1a26ca716f6e3f42bc8d7180a2809afea69.tar.gz chromium_src-9cddb1a26ca716f6e3f42bc8d7180a2809afea69.tar.bz2 |
Move Sad Tab implementation out of the TabContentsViews.
BUG=103258
TEST=no change in sad tab behavior
Review URL: http://codereview.chromium.org/8477042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r-- | chrome/browser/notifications/balloon_host.cc | 2 | ||||
-rw-r--r-- | chrome/browser/notifications/balloon_host.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc index ee586cc..e476972 100644 --- a/chrome/browser/notifications/balloon_host.cc +++ b/chrome/browser/notifications/balloon_host.cc @@ -93,7 +93,7 @@ void BalloonHost::RenderViewReady() { content::NotificationService::NoDetails()); } -void BalloonHost::RenderViewGone() { +void BalloonHost::RenderViewGone(base::TerminationStatus status) { CloseContents(tab_contents_.get()); } diff --git a/chrome/browser/notifications/balloon_host.h b/chrome/browser/notifications/balloon_host.h index 7dfd875..257fba8 100644 --- a/chrome/browser/notifications/balloon_host.h +++ b/chrome/browser/notifications/balloon_host.h @@ -68,7 +68,7 @@ class BalloonHost : public TabContentsDelegate, // TabContentsObserver implementation: virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; virtual void RenderViewReady() OVERRIDE; - virtual void RenderViewGone() OVERRIDE; + virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; // Message handlers |