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

Issue 7983042: CrOS: Add Discard Tab command link to about:discards (Closed)

Created:
9 years, 3 months ago by James Cook
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

CrOS: Add Discard Tab command link to about:discards Work in process on discarding a tab (for low memory conditions on CrOS). Also clean up the strings we use to describe system memory, and eliminate memory as an input for "interestingness" of tabs, since the OOM killer already includes memory as an input. BUG=none TEST=Open "about:discards". Click the "Discard Tab Now" link - the tab at the bottom of the list should close. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102397

Patch Set 1 #

Patch Set 2 : actually close a tab now #

Patch Set 3 : strip memory as a factor, actually close a tab #

Patch Set 4 : revert tab_strip_model.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -124 lines) Patch
M chrome/browser/browser_about_handler.cc View 3 chunks +17 lines, -10 lines 0 comments Download
M chrome/browser/oom_priority_manager.h View 1 2 4 chunks +25 lines, -24 lines 0 comments Download
M chrome/browser/oom_priority_manager.cc View 1 2 8 chunks +94 lines, -90 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
James Cook
Greg, PTAL. I think I'd like to commit this, then start on the internals of ...
9 years, 3 months ago (2011-09-22 20:46:39 UTC) #1
Greg Spencer (Chromium)
9 years, 3 months ago (2011-09-22 23:21:05 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698