<webview> zoom API.

*****

Added a test to test the <webview> zoom API.


Added callback functionality to setZoom.


Changed the onZoomeChange event to have two public fields: "oldZoomLevel" and "newZoomLevel".


Each loadcommit event now updates the internal currentZoomLevel_ field so that getZoom reports the correct zoom level both initially and after navigating to different webpages.


Refactored many instances of the term "zoom factor" to "zoom level" for consistency with other zoom-related functions in other areas of chrome.


Implemented the getZoom function of the webview zoom API (though it is sometimes wrong because it needs to get updated info when navigating to different pages).


Implemented the setZoom function for the <webview> zoom API.

BUG=234663

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250737 0039d316-1c4b-4281-b951-d872f2087c98
Fully support the autohide shelf option for touch UI on Windows.

This change does the following:

1) Adds a new gesture referred to as an EdgeSwipe gesture.
This is Win8 / Metro specific, and refers to a swipe up from
the bottom edge, or swipe down from the top edge.  The
semantics of this gesture are slightly different than those
of a bezel gesture, which can occur on any edge, and for
which you can determine specifically which edge it was (not
possible with Win8 edge swipe).

2) edge swipe no longer enters / exits full screen mode.
Instead it makes the shelf visible (if it was hidden, and
auto-hide was checked), disables auto-hide, and exits full
screen.

BUG=340772
R=asvitkine@chromium.org, cpu@chromium.org, harrym@chromium.org, jschuh@chromium.org, sadrul@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250738 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250738
Avoid int->float->int conversion in OcclusionTracker for int translates.

If the transform on a layer is an integer translation, we can easily
avoid converting the query rectangle to floats just to convert them
back to integers again. This is super costly.

Added a perftest for this. On an N4 the results are

Before: 20.553817749023438 us
After: 13.440165519714355 us

For about 35% reduction in time in this scnario.

Also renames MapClippedRect(Rect) to MapEnclosingClippedRect(Rect) to
describe what it does better, and audit callsides of MapClippedRect
to change any others that then ToEnclosingRect to call the
MapEnclosingClippedRect instead. Similar for Project.

R=enne
BUG=342848

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250739 0039d316-1c4b-4281-b951-d872f2087c98
Implement events for cast.streaming.rtpStream API

This change implements:
cast.streaming.rtpStream.onStarted
cast.streaming.rtpStream.onStopped
cast.streaming.rtpStream.onError

Above event handlers are now called when a stream starts, stops and
encounters an error.

CastStreamingApiTest is updated to connect these events for testing.

BUG=301920

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250740 0039d316-1c4b-4281-b951-d872f2087c98
autofill: Remove WebFormElement include from autofill_manager.h

Apparently this type is only used by the unittest file.

BUG=140037
TEST=unit_tests
TBR=joi@chromium.org,blundell@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250741 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250741