DescriptionDisable download for overlay panel content
When content is overlayed(eg. reader mode), enabling download is quite troublesome.
The main issue is that download may cause infobar to show up.
As a result, this CL disables download for overlay content.
Currently it only affects the download button on media controls.
Will disable other elements in later CLs if I found that they can
trigger download.
Because the media control download button uses an internal css, cannot
use distilledpage.css to hide it.
BUG=650738
Committed: https://crrev.com/72e8bd0573fe18014855175b6983232b35b35208
Cr-Commit-Position: refs/heads/master@{#426863}
Patch Set 1 #Patch Set 2 : rename disableDownload to hideDownloadUI #
Total comments: 2
Patch Set 3 : nit #Patch Set 4 : rebase and add layout test #Patch Set 5 : rebase #Messages
Total messages: 60 (27 generated)
|