Chromium Code Reviews
DescriptionTaskManager: when shown or activated, select the last active tab.
Introduce a method, NewTaskManagerView::SelectTaskOfActiveTab, which
allows the selection model to be updated to match the main row
of a particular WebContents. Add plumbing from the NewTaskManagerView
down to the TaskProviders to support this lookup.
Rename NewTaskManagerView::ActivateFocusedTab for consistency and accuracy
(it's basically the inverse of the new function).
Replace the ScopedVector of TaskProviders with a std::vector of unique_ptrs,
since ScopedVector is deprecated.
BUG=614551
TEST=included browser_test
Committed: https://crrev.com/1824ae3ede49ac7e6cf6224d03e713fab8070c30
Cr-Commit-Position: refs/heads/master@{#409087}
Patch Set 1 #Patch Set 2 : Fix TestTaskManager. #Patch Set 3 : Use the Browser* passed into show. This fixes the test helpers, which pass in nullptr. #Patch Set 4 : Merge branch 'wait_for_rows' into tm_default_selection #Patch Set 5 : Fix test. #Patch Set 6 : Merge branch 'wait_for_rows' into tm_default_selection #Patch Set 7 : Fix compile. #Dependent Patchsets: Messages
Total messages: 39 (31 generated)
|