Task Manager Should remember the most recently enabled columns.
commit4e16add803fbb0ed18413496d3fb4424fa4957c6
authorafakhry <afakhry@chromium.org>
Mon, 31 Aug 2015 23:55:31 +0000 (31 16:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 31 Aug 2015 23:56:01 +0000 (31 23:56 +0000)
treeee6059fe1d62501061d72b220b395e06e1f880ea
parent3fcac757485e6f975e15dece08c067d86dfe2267
Task Manager Should remember the most recently enabled columns.

This CL:
1- Makes adding and removing columns to the task manager a lot easier
and cleaner.
2- Stores/retrieves the columns visibility to/from the local state
prefs.
3- Stores/retrieves the sorted column and the sort order.

R=thestig@chromium.org
BUG=452521
TEST=browser_tests --gtest_filter=NewTaskManagerViewTest.*

Review URL: https://codereview.chromium.org/1320563002

Cr-Commit-Position: refs/heads/master@{#346524}
chrome/browser/task_manager/task_manager.cc
chrome/browser/ui/views/new_task_manager_view.cc
chrome/browser/ui/views/new_task_manager_view.h
chrome/browser/ui/views/new_task_manager_view_browsertest.cc [new file with mode: 0644]
chrome/chrome_tests.gypi
chrome/common/pref_names.cc
chrome/common/pref_names.h