Descriptionmash: Remove ChromeLauncherController's |id_to_item_controller_map_|.
Remove CLC::id_to_item_controller_map_; rely on ShelfModel instead.
Skip removing shelf items in CLC destruction; rely on ~ShelfModel instead.
Remove CLC::[Get|Set]ShelfItemDelegate helpers; inline ShelfModel calls.
Remove moot ShelfModelObserver::OnSetShelfItemDelegate.
Rename CLC::LauncherItemClosed -> RemoveShelfItem.
Rename test helper GetAppLaunchers -> GetPinnedAppIds.
Inline ShelfModel::RemoveShelfItemDelegate helper function.
Avoid GetItemIndexForType, use GetShelfIDForAppID instead.
Use ItemTypeIsPinned helper function.
BUG=557406
TEST=Automated; no Chrome OS shelf behavior changes.
R=jamescook@chromium.org
Review-Url: https://codereview.chromium.org/2798173002
Cr-Commit-Position: refs/heads/master@{#463030}
Committed: https://chromium.googlesource.com/chromium/src/+/4a3c245c97370cf05dcbe6e9dae89936042293b1
Patch Set 1 #Patch Set 2 : Sync and rebase. #Patch Set 3 : Remove get|set delegate helpers; cleanup. #
Total comments: 6
Patch Set 4 : Address comment; fix browser tests. #Messages
Total messages: 22 (15 generated)
|