Support viewport in content_shell.

Viewport preferences are overridden even with the --enable-viewport flag passed in.

BUG=343993

Review URL: https://codereview.chromium.org/166033008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252161 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Always use pixels for gestures handled in ContentViewCore

There were several cases where we were passing DIP coordinates for gestures
being filtered and/or ack'ed in ContentViewCore.  Fix this by re-scaling
gesture-related coordinates to pixels before sending them to ContentViewCore.

NOTRY=true

Review URL: https://codereview.chromium.org/165393014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252162 0039d316-1c4b-4281-b951-d872f2087c98
Return ERR_INVALID_RESPONSE when we get a funky error page mime-type.
ERR_FILE_NOT_FOUND was being returned before, which is rather
misleading.

ERR_INVALID_RESPONSE is a very rare error, and currently just uses the
generic error page, with no strings of its own.  If this CL significantly
increases the frequency of the error, we should add strings for it.

BUG=344633

Review URL: https://codereview.chromium.org/165983007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252163 0039d316-1c4b-4281-b951-d872f2087c98
Unmark newly received resources for deletion.

When a child resource is unused for the frame, but is exported, we mark it for
deletion, pending the return from the top-level parent.
However, we may receive that resource again from the child, and start using it,
before we got the return, so at that point we should unmark the resource for
deletion, because leaving it marked will make us return the resource to the
child when we receive it back from the top-level parent.

BUG=342061

Review URL: https://codereview.chromium.org/170173004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252164 0039d316-1c4b-4281-b951-d872f2087c98
android envsetup: Make passing --target-arch an error.

This is to make sure I found all the bots that used to pass this. I'll
completely remove the flag in a day or two.

Also remove the function for printing usage information. I accidentally removed
processing for --help in r252034, but having a --help flag for printing --help
as only supported flag is a bit silly anyways, so get rid of this.

(Depends on https://codereview.chromium.org/170783015/
and https://chrome-internal-review.googlesource.com/#/c/155292/)

BUG=330631
R=yfriedman@chromium.org

Review URL: https://codereview.chromium.org/173003003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252166 0039d316-1c4b-4281-b951-d872f2087c98
rAc: don't show countries with partially supported address fields for now.

TODO(dbeam): re-enable when we figure out how a webpage can request this field.

R=estade@chromium.org, rouslan@chromium.org
BUG=340929
TEST=unit_tests, no CN or KR in rAc() country dropdown or suggestions for now :(

Review URL: https://codereview.chromium.org/172783003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252167 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1848.0 to 1849.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252169 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll r167305 - r167448

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=%2Ftrunk&range=167305%3A167448&mode=html

TBR=acolwel

Review URL: https://codereview.chromium.org/173413003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252171 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252172 0039d316-1c4b-4281-b951-d872f2087c98
Hookup the page-indicator and progress-bar elements in the PDF extension.

This hooks up the page-indicator (so that the correct page is displayed) and
the progress bar (so that the correct progress is displayed) in PDF.

BUG=303491
R=arv@chromium.org, koz@chromium.org

Review URL: https://codereview.chromium.org/138703009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252175 0039d316-1c4b-4281-b951-d872f2087c98
Convert search for most visible page in the document to a binary search.

The PDF extension needs to compute the most visible page frequently so we use
a binary search.

BUG=303491
R=arv@chromium.org, koz@chromium.org

Review URL: https://codereview.chromium.org/170163003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252177 0039d316-1c4b-4281-b951-d872f2087c98
Implement "go to page" functionality in out of process PDF

The page can receive messages from the plugin that instruct it to scroll to a particular page.

BUG=303491
R=arv@chromium.org, koz@chromium.org

Review URL: https://codereview.chromium.org/165813004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252178 0039d316-1c4b-4281-b951-d872f2087c98
Add shortcuts for zoom, print and saving PDFs.

BUG=303491
R=arv@chromium.org, koz@chromium.org

Review URL: https://codereview.chromium.org/169683005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252180 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Move definition of "struct nacl_irt_ppapihook" to the Chromium repo

This will allow the definition to be removed from NaCl's irt.h.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3787
TEST=build
R=teravest@chromium.org

Review URL: https://codereview.chromium.org/172633005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252185 0039d316-1c4b-4281-b951-d872f2087c98
LKGR w/ DEPS up to revision 252185