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

Issue 1912773002: Remove the old task manager view (Closed)

Created:
4 years, 8 months ago by afakhry
Modified:
4 years, 7 months ago
CC:
chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, samarth+watch_chromium.org, tfarina, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, gavinp+prer_chromium.org, jfweitz+watch_chromium.org, David Black, asvitkine+watch_chromium.org, kmadhusu+watch_chromium.org, chromium-apps-reviews_chromium.org, Jered, cpu_(ooo_6.6-7.5)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the old task manager view This CL does the following: - Enables the old task manager backend implementation only on MacOSX cocoa. - Removes the --disable-new-task-manager flag. - Removes the old task manager view BUG=604806 Committed: https://crrev.com/17406972b0d3ab7d1448dda982dc294b6cede9a7 Cr-Commit-Position: refs/heads/master@{#395671}

Patch Set 1 #

Patch Set 2 : removes unused headers. #

Patch Set 3 : Fix compile errors. #

Patch Set 4 : Rebase ... #

Patch Set 5 : Remove duplicated symbol #

Total comments: 16

Patch Set 6 : thestig's comments #

Total comments: 31

Patch Set 7 : tapted's comments #

Total comments: 5

Patch Set 8 : Rebasing on Nicks changes #

Patch Set 9 : Fix compile error #

Patch Set 10 : Rebase + Fix compile error 2 #

Patch Set 11 : Compile error 3 #

Total comments: 10

Patch Set 12 : ncarter and tapted's comments #

Total comments: 5

Patch Set 13 : Attempt to get browsertests to build #

Patch Set 14 : Rebase ... #

Patch Set 15 : tapted's comments #

Total comments: 4

Patch Set 16 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -1012 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/browser/caps/generate_state_json.h View 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/browser/caps/generate_state_json.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -208 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/task_management/task_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/task_management/task_manager_interface.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/task_management/task_manager_interface.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +34 lines, -5 lines 0 comments Download
M chrome/browser/task_management/task_manager_tester.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/task_management/task_manager_tester.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +2 lines, -17 lines 0 comments Download
D chrome/browser/task_manager/legacy_task_manager_tester.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/browser/task_manager/legacy_task_manager_tester.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/task_manager/printing_information.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/task_manager/task_manager.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -16 lines 0 comments Download
A chrome/browser/task_manager/task_manager_tester_nonmac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/task_manager_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/app_menu_model.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/browser_dialogs_views.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/new_task_manager_view.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -635 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 46 (12 generated)
afakhry
Nick, could you please take a look?
4 years, 8 months ago (2016-04-21 23:44:04 UTC) #2
afakhry
thestig@chromium.org: Please take a look. Thanks!
4 years, 8 months ago (2016-04-22 18:44:41 UTC) #4
ncarter (slow)
https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc File chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc (right): https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc#newcode98 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc:98: ASSERT_NO_FATAL_FAILURE(WaitForTaskManagerRows(0, MatchAnyPrint())); Let's not put these tests on a ...
4 years, 8 months ago (2016-04-22 21:47:20 UTC) #5
afakhry
https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc File chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc (right): https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc#newcode98 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc:98: ASSERT_NO_FATAL_FAILURE(WaitForTaskManagerRows(0, MatchAnyPrint())); On 2016/04/22 21:47:20, ncarter wrote: > Let's ...
4 years, 8 months ago (2016-04-22 22:51:19 UTC) #6
Lei Zhang
Huh, what's this c/b/caps thing that was added in r320357? It is being removed. Do ...
4 years, 8 months ago (2016-04-22 23:04:18 UTC) #7
scottmg
On 2016/04/22 23:04:18, Lei Zhang wrote: > Huh, what's this c/b/caps thing that was added ...
4 years, 8 months ago (2016-04-22 23:11:48 UTC) #8
Lei Zhang
Also +tapted FYI.
4 years, 8 months ago (2016-04-23 00:00:13 UTC) #9
Lei Zhang
https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/task_management/task_manager_interface.cc File chrome/browser/task_management/task_manager_interface.cc (right): https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/task_management/task_manager_interface.cc#newcode31 chrome/browser/task_management/task_manager_interface.cc:31: if (g_browser_process->local_state()) { auto* state = g_browser_process->local_state(); return state ...
4 years, 8 months ago (2016-04-23 00:52:32 UTC) #10
afakhry
https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/task_management/task_manager_interface.cc File chrome/browser/task_management/task_manager_interface.cc (right): https://codereview.chromium.org/1912773002/diff/80001/chrome/browser/task_management/task_manager_interface.cc#newcode31 chrome/browser/task_management/task_manager_interface.cc:31: if (g_browser_process->local_state()) { On 2016/04/23 00:52:32, Lei Zhang wrote: ...
4 years, 8 months ago (2016-04-25 20:02:51 UTC) #11
Lei Zhang
lgtm
4 years, 8 months ago (2016-04-25 20:34:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912773002/100001
4 years, 8 months ago (2016-04-25 20:36:52 UTC) #14
tapted
sorry not lgtm - it looks like this is removing test coverage that shouldn't be ...
4 years, 8 months ago (2016-04-26 01:08:09 UTC) #17
tapted
a few more comments too (sorry the gyp/gn stuff is confusing while we're migrating both ...
4 years, 8 months ago (2016-04-26 01:54:04 UTC) #18
tapted
https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc File chrome/browser/ui/views/new_task_manager_view.cc (right): https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc#newcode391 chrome/browser/ui/views/new_task_manager_view.cc:391: // Declared in browser_dialogs.h so others don't need to ...
4 years, 8 months ago (2016-04-26 03:25:25 UTC) #19
tapted
On 2016/04/26 03:25:25, tapted wrote: > https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc > File chrome/browser/ui/views/new_task_manager_view.cc (right): > > https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc#newcode391 > ...
4 years, 8 months ago (2016-04-26 05:51:07 UTC) #20
ncarter (slow)
It looks like the old tests have the capacity to uncover bugs in the new ...
4 years, 8 months ago (2016-04-26 20:04:35 UTC) #21
afakhry
I'll be holding off on this CL until Nick lands his. https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/extensions/app_background_page_apitest.cc File chrome/browser/extensions/app_background_page_apitest.cc (right): ...
4 years, 8 months ago (2016-04-26 22:22:44 UTC) #22
tapted
https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc File chrome/browser/ui/views/new_task_manager_view.cc (right): https://codereview.chromium.org/1912773002/diff/100001/chrome/browser/ui/views/new_task_manager_view.cc#newcode391 chrome/browser/ui/views/new_task_manager_view.cc:391: // Declared in browser_dialogs.h so others don't need to ...
4 years, 8 months ago (2016-04-26 22:43:50 UTC) #23
tapted
I'm toying with a diff in http://crrev.com/1924683003 but I ran out of time to get ...
4 years, 7 months ago (2016-04-27 13:01:45 UTC) #24
Evan Stade
ping Ahmed --- what's the status of this?
4 years, 7 months ago (2016-05-18 22:19:09 UTC) #25
afakhry
On 2016/05/18 22:19:09, Evan Stade wrote: > ping Ahmed --- what's the status of this? ...
4 years, 7 months ago (2016-05-18 22:23:13 UTC) #26
Evan Stade
On 2016/05/18 22:23:13, afakhry wrote: > On 2016/05/18 22:19:09, Evan Stade wrote: > > ping ...
4 years, 7 months ago (2016-05-18 22:24:37 UTC) #27
afakhry
ncarter, and tapted, Please take a look. The CL is now much easier after Nick ...
4 years, 7 months ago (2016-05-19 18:29:53 UTC) #29
ncarter (slow)
lgtm assuming caps/ is totally dead code that we're okay deleting https://codereview.chromium.org/1912773002/diff/200001/chrome/browser/task_management/task_manager_tester.cc File chrome/browser/task_management/task_manager_tester.cc (right): ...
4 years, 7 months ago (2016-05-19 22:25:08 UTC) #30
tapted
The mac_views_browser build is tricky.. I should have some time today (overnight for you) to ...
4 years, 7 months ago (2016-05-20 00:08:45 UTC) #31
afakhry
https://codereview.chromium.org/1912773002/diff/200001/chrome/browser/task_management/task_manager_interface.cc File chrome/browser/task_management/task_manager_interface.cc (right): https://codereview.chromium.org/1912773002/diff/200001/chrome/browser/task_management/task_manager_interface.cc#newcode17 chrome/browser/task_management/task_manager_interface.cc:17: #include "chrome/browser/task_manager/task_manager.h" On 2016/05/20 00:08:45, tapted wrote: > This ...
4 years, 7 months ago (2016-05-20 02:32:50 UTC) #33
tapted
https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc File chrome/browser/task_management/task_manager_tester.cc (right): https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc#newcode168 chrome/browser/task_management/task_manager_tester.cc:168: return task_manager::CreateLegacyTaskManagerTester(callback); On 2016/05/20 02:32:50, afakhry wrote: > I ...
4 years, 7 months ago (2016-05-20 09:52:34 UTC) #34
tapted
https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc File chrome/browser/task_management/task_manager_tester.cc (right): https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc#newcode168 chrome/browser/task_management/task_manager_tester.cc:168: return task_manager::CreateLegacyTaskManagerTester(callback); On 2016/05/20 09:52:33, tapted wrote: > On ...
4 years, 7 months ago (2016-05-23 04:34:56 UTC) #35
afakhry
https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc File chrome/browser/task_management/task_manager_tester.cc (right): https://codereview.chromium.org/1912773002/diff/220001/chrome/browser/task_management/task_manager_tester.cc#newcode168 chrome/browser/task_management/task_manager_tester.cc:168: return task_manager::CreateLegacyTaskManagerTester(callback); On 2016/05/20 09:52:33, tapted wrote: > On ...
4 years, 7 months ago (2016-05-23 18:21:52 UTC) #37
tapted
Awesome lgtm - thanks for bearing with me for the mac_views_browser stuff! https://codereview.chromium.org/1912773002/diff/280001/chrome/browser/task_management/task_manager_tester.h File chrome/browser/task_management/task_manager_tester.h ...
4 years, 7 months ago (2016-05-23 21:04:27 UTC) #38
afakhry
Thanks! https://codereview.chromium.org/1912773002/diff/280001/chrome/browser/task_management/task_manager_tester.h File chrome/browser/task_management/task_manager_tester.h (right): https://codereview.chromium.org/1912773002/diff/280001/chrome/browser/task_management/task_manager_tester.h#newcode55 chrome/browser/task_management/task_manager_tester.h:55: // Always creates a tester for the non-legacy ...
4 years, 7 months ago (2016-05-24 17:40:27 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912773002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912773002/300001
4 years, 7 months ago (2016-05-24 17:41:24 UTC) #42
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 7 months ago (2016-05-24 19:16:30 UTC) #44
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 19:18:49 UTC) #46
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/17406972b0d3ab7d1448dda982dc294b6cede9a7
Cr-Commit-Position: refs/heads/master@{#395671}

Powered by Google App Engine
This is Rietveld 408576698