Move eject button setup function to be available for Directory Item
instances and classes which extend, such as EntryListItem. Removable
roots are EntryListItems and need eject functionality to set up an eject
button.

Bug: 918795
Change-Id: Icad38a3e44ff308d826a0fb2c3debcd5f0a7c69a
Reviewed-on: https://chromium-review.googlesource.com/c/1446258
Reviewed-by: Luciano Pacheco <lucmult@chromium.org>
Commit-Queue: Alli Murray <alliemurray@google.com>
Cr-Commit-Position: refs/heads/master@{#628235}
1 file changed