Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Issue 6053012: This adds a "killed tab" page and pages reload when killed on ChromeOS (Closed)

Created:
9 years, 11 months ago by Greg Spencer (Chromium)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71360

Patch Set 1 #

Patch Set 2 : Added "about:kill" support #

Patch Set 3 : Adding auto-reloading of killed tabs. #

Patch Set 4 : Fixing tab graphic. #

Patch Set 5 : Pre-review tweaks #

Total comments: 3

Patch Set 6 : Converting ifdef to a flag #

Patch Set 7 : Renaming flag to something a little better. #

Patch Set 8 : Fixed indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -48 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/app/theme/killtab.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/browser_about_handler_unittest.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_factory.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/sad_tab_gtk.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/gtk/sad_tab_gtk.cc View 1 2 3 4 7 chunks +30 lines, -11 lines 0 comments Download
M chrome/browser/renderer_host/site_instance.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.h View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 2 3 4 5 6 chunks +27 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.h View 1 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_win.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_win.cc View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/common/about_handler.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/renderer/about_handler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/about_handler.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Greg Spencer (Chromium)
Brett, please let me know if you don't have time for this review. I picked ...
9 years, 11 months ago (2011-01-10 22:20:04 UTC) #1
brettw
Looking now.
9 years, 11 months ago (2011-01-12 00:42:26 UTC) #2
brettw
Aside from hoping we can find a better solution for the ifdef, this looks pretty ...
9 years, 11 months ago (2011-01-12 07:22:58 UTC) #3
Ben Goodger (Google)
http://codereview.chromium.org/6053012/diff/13001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/6053012/diff/13001/chrome/browser/ui/browser.cc#newcode2629 chrome/browser/ui/browser.cc:2629: #if defined(OS_CHROMEOS) There are a couple of approaches here ...
9 years, 11 months ago (2011-01-12 15:34:11 UTC) #4
Ben Goodger (Google)
On Wed, Jan 12, 2011 at 10:09 AM, Greg Spencer <gspencer@chromium.org>wrote: > Well, this is ...
9 years, 11 months ago (2011-01-12 18:12:11 UTC) #5
Greg Spencer
On Wed, Jan 12, 2011 at 10:12 AM, Ben Goodger (Google) <ben@chromium.org>wrote: > On Wed, ...
9 years, 11 months ago (2011-01-12 18:16:48 UTC) #6
Greg Spencer (Chromium)
On Wed, Jan 12, 2011 at 7:34 AM, <ben@chromium.org> wrote: > > > http://codereview.chromium.org/6053012/diff/13001/chrome/browser/ui/browser.cc > ...
9 years, 11 months ago (2011-01-12 18:18:39 UTC) #7
Greg Spencer (Chromium)
On 2011/01/12 18:18:39, Greg Spencer (Chromium) wrote: > I'll update the CL when I'm no ...
9 years, 11 months ago (2011-01-13 00:23:15 UTC) #8
brettw
9 years, 11 months ago (2011-01-13 04:43:22 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698