diff options
author | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 21:50:16 +0000 |
---|---|---|
committer | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 21:50:16 +0000 |
commit | a8f02439c64d510855f0efa908152fe970557142 (patch) | |
tree | 7630edd402597eebe0caeb33b34a7b1064a19a08 /chrome/renderer/about_handler.h | |
parent | 630c1f381c85b69064ce2adfd5999c0f3c136ed3 (diff) | |
download | chromium_src-a8f02439c64d510855f0efa908152fe970557142.zip chromium_src-a8f02439c64d510855f0efa908152fe970557142.tar.gz chromium_src-a8f02439c64d510855f0efa908152fe970557142.tar.bz2 |
This adds a "killed tab" page to be displayed in the case where a tab is killed instead of crashing.
It also adds "about:kill" to simulate kills.
On ChromeOS killed tabs will be reloaded as soon as the user clicks on them unless they are the only tab, or the currently focused tab is killed.
BUG=http://crosbug.com/10043, http://crosbug.com/10711
TEST=Built linux and ChromeOS Chrome and killed a tab, and then did about:crash and made sure that the "Aw, Snap!" page was displayed. Did about:kill and made sure kill page was displayed.
Review URL: http://codereview.chromium.org/6053012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/about_handler.h')
-rw-r--r-- | chrome/renderer/about_handler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/about_handler.h b/chrome/renderer/about_handler.h index ee55f49..dea3c5b 100644 --- a/chrome/renderer/about_handler.h +++ b/chrome/renderer/about_handler.h @@ -24,6 +24,9 @@ class AboutHandler { // Induces a renderer crash. static void AboutCrash(); + // Induces a renderer kill. + static void AboutKill(); + // Induces a renderer hang. static void AboutHang(); |