[go: nahoru, domu]

CrOS: Create ShelfButtonDelegate as an interface for ShelfButton

To enable the refactorings which will enable the new shelf, remove
references to ShelfView from ShelfButton, ShelfControlButton, and
classes that extend ShelfControlButton.

Some ShelfButtons (ShelfAppButton) will keep their ShelfView references
because ShelfView will remain their host view.

Change-Id: Iefbdadb05f1d2275e274dace6551905d17104876
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678442
Commit-Queue: Alex Newcomer <newcomer@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: Manu Cornet <manucornet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673887}
22 files changed