Add viewport settings for MediaDocument

MediaDocument is used when navigating directly to an audio or video resource.
Use viewport width=device-width so that one doesn't need to zoom in order to
use the video controls.

Add viewport settings for ImageDocument

On (mobile) platforms which have a viewport (e.g. Android) it is currently
necessary to zoom in to see the image at 100% resolution even if it fits on the
page. The width=device-width setting fixes this, and does not affect (desktop)
platforms that lack a viewport.

BUG=254978

Review URL: https://chromiumcodereview.appspot.com/18034007

git-svn-id: svn://svn.chromium.org/blink/trunk@153704 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: f668e1da23589c709128cc7422758d343c4cbcd2
  1. third_party/