Allow inspectors to not show the delete button

This functionality makes sense for annotations, but not for extensions.

Change-Id: I64fea941f8e01d0464eb9a045257f4810d789d60
Merge "Allow inspectors to not show the delete button"