[Download Home] Open supported files in Custom Tabs
Downloads stuff:
* Add a function to DownloadManagerService that queries whether
a MIME type is supported for display in Chrome.
* When opening a file via Download Home, query whether the file
type is supported. If so, send it to a new tab instead of
Intenting out.
* Move Share and View intent code out to DownloadUtils and expose
constants everywhere to allow this to happen.
* Removed periods from download notification Strings.
Custom Tab stuff:
* Added a "media viewer" intent extra that makes Custom Tabs
opened by Download Home hide unnecessary menu items.
BUG=
616324,
648454
Committed:
https://crrev.com/4876f0de97118aedbba17f973387bab3f539120a
Cr-Commit-Position: refs/heads/master@{#419921}