Cherry-pick: [Android WebView] Add a compatibility quirk for returning screen sizes in physical pixels
Cherry-pick of Blink http://crrev.com/26373006
Bug: 11026947
Original description:
[Android WebView] Add a compatibility quirk for returning screen sizes in physical pixels
This enables the browser to return screen.width / availWidth (and height),
@media device-width (and height), window.outerWidth (and height),
but not window.innerWidth (and height) in physical rather than CSS
pixels.
BUG=305236
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159299
Change-Id: Ib0f4e7dafd696c2188cc84cb61d2040484d2d4f9
7 files changed