Port of Android platform gesture detection code to C++
This is a direct C++ port of all Java classes utilized by the current
ContentViewGestureHandler, including forks of Android C++ classes used in
gesture detection. This includes the following:
* ZoomManager - Forked from Chromium.
* SnapScrollingController - Forked from Chromium.
* GestureDetector - Forked from Chromium class originally from Android.
* ScaleGestureDetector - Forked from Android.
* VelocityTracker - Forked from Android.
* VelocityTrackerState - Forked from Android.
* BitSet32 - Forked from Android.
A MotionEvent class is introduced to abstract touch event API differences
between Chromium and Android, allowing other platforms to hook into the
detection pipeline without loss of generality.
Note that this patch is additive only, and does not affect gesture detection
for current platforms. Wiring for Android and Aura will land in separate
patches. (see https://codereview.chromium.org/
128613003/)
BUG=332418
NOTRY=true
Review URL: https://codereview.chromium.org/
171773012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253489 0039d316-1c4b-4281-b951-d872f2087c98