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

Issue 2344703002: Fix task manager's default sizing. (Closed)

Created:
4 years, 3 months ago by Evan Stade
Modified:
4 years, 2 months ago
Reviewers:
Lei Zhang, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix task manager's default sizing. Set default width based on contents rather than hardcoding a value (which happened to be too small once we adjusted outer padding for the dialog). BUG=614317 Committed: https://crrev.com/6678470d3169979d811eec56e7cdea668ab751c1 Cr-Commit-Position: refs/heads/master@{#422893}

Patch Set 1 #

Patch Set 2 : no dbg #

Total comments: 2

Patch Set 3 : rabbit holes #

Total comments: 2

Patch Set 4 : less work #

Total comments: 2

Patch Set 5 : . #

Total comments: 5

Patch Set 6 : rebase + commentary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -39 lines) Patch
M chrome/browser/ui/views/task_manager_view.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 1 chunk +10 lines, -1 line 0 comments Download
M ui/views/controls/scroll_view.cc View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
M ui/views/controls/table/table_view.h View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M ui/views/controls/table/table_view.cc View 1 2 3 3 chunks +11 lines, -24 lines 0 comments Download

Messages

Total messages: 38 (22 generated)
Evan Stade
4 years, 3 months ago (2016-09-14 23:22:42 UTC) #3
sky
https://codereview.chromium.org/2344703002/diff/20001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/2344703002/diff/20001/chrome/browser/ui/views/task_manager_view.cc#newcode150 chrome/browser/ui/views/task_manager_view.cc:150: gfx::Size contents_size(tab_table_->GetPreferredSize().width(), 270); I think you should be able ...
4 years, 3 months ago (2016-09-15 02:52:14 UTC) #8
Evan Stade
https://codereview.chromium.org/2344703002/diff/20001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/2344703002/diff/20001/chrome/browser/ui/views/task_manager_view.cc#newcode150 chrome/browser/ui/views/task_manager_view.cc:150: gfx::Size contents_size(tab_table_->GetPreferredSize().width(), 270); On 2016/09/15 02:52:13, sky wrote: > ...
4 years, 3 months ago (2016-09-16 18:42:54 UTC) #9
sky
https://codereview.chromium.org/2344703002/diff/40001/ui/views/controls/table/table_view.cc File ui/views/controls/table/table_view.cc (right): https://codereview.chromium.org/2344703002/diff/40001/ui/views/controls/table/table_view.cc#newcode319 ui/views/controls/table/table_view.cc:319: if (viewport && width() != viewport->width() && !in_set_visible_column_width_) I ...
4 years, 3 months ago (2016-09-16 21:28:58 UTC) #14
Evan Stade
https://codereview.chromium.org/2344703002/diff/40001/ui/views/controls/table/table_view.cc File ui/views/controls/table/table_view.cc (right): https://codereview.chromium.org/2344703002/diff/40001/ui/views/controls/table/table_view.cc#newcode319 ui/views/controls/table/table_view.cc:319: if (viewport && width() != viewport->width() && !in_set_visible_column_width_) On ...
4 years, 3 months ago (2016-09-22 16:19:13 UTC) #15
sky
https://codereview.chromium.org/2344703002/diff/60001/ui/views/controls/scroll_view.cc File ui/views/controls/scroll_view.cc (right): https://codereview.chromium.org/2344703002/diff/60001/ui/views/controls/scroll_view.cc#newcode281 ui/views/controls/scroll_view.cc:281: // If not vertically bounded, there's no specific preferred ...
4 years, 3 months ago (2016-09-22 17:39:58 UTC) #20
Evan Stade
https://codereview.chromium.org/2344703002/diff/60001/ui/views/controls/scroll_view.cc File ui/views/controls/scroll_view.cc (right): https://codereview.chromium.org/2344703002/diff/60001/ui/views/controls/scroll_view.cc#newcode281 ui/views/controls/scroll_view.cc:281: // If not vertically bounded, there's no specific preferred ...
4 years, 3 months ago (2016-09-22 22:42:48 UTC) #21
sky
https://codereview.chromium.org/2344703002/diff/80001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/2344703002/diff/80001/chrome/browser/ui/views/task_manager_view.cc#newcode157 chrome/browser/ui/views/task_manager_view.cc:157: // The task name column expands to use excess ...
4 years, 3 months ago (2016-09-23 16:22:26 UTC) #26
Evan Stade
sorry I keep deprioritizing this. https://codereview.chromium.org/2344703002/diff/80001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/2344703002/diff/80001/chrome/browser/ui/views/task_manager_view.cc#newcode157 chrome/browser/ui/views/task_manager_view.cc:157: // The task name ...
4 years, 2 months ago (2016-10-04 01:33:13 UTC) #27
sky
LGTM
4 years, 2 months ago (2016-10-04 16:21:07 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344703002/100001
4 years, 2 months ago (2016-10-04 19:01:51 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-04 19:55:01 UTC) #32
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/6678470d3169979d811eec56e7cdea668ab751c1 Cr-Commit-Position: refs/heads/master@{#422893}
4 years, 2 months ago (2016-10-04 19:57:42 UTC) #34
Lei Zhang
With this CL, when I open the task manager on Linux, it just expands wider ...
4 years, 2 months ago (2016-10-05 00:21:38 UTC) #36
Lei Zhang
On 2016/10/05 00:21:38, Lei Zhang wrote: > With this CL, when I open the task ...
4 years, 2 months ago (2016-10-05 00:28:29 UTC) #37
Lei Zhang
4 years, 2 months ago (2016-10-05 00:39:44 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2389803006/ by thestig@chromium.org.

The reason for reverting is: On Linux, the task manager window self expands and
gets wider and wiser..

Powered by Google App Engine
This is Rietveld 408576698