Mojo: Simplify object serialization

Eliminate ObjectTraits<T> classes in favor of putting these methods directly on
the generated *_Data classes. ObjectTraits<T> was added to hide these methods
from public classes, but now that *_Data classes are internal, there is no
longer any need for ObjectTraits<T>.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244071 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244071
Delegate touch handler registration logic to the TouchEventQueue

Teach the TouchEventQueue about touch handler registration, allowing it to make
more informed touch forwarding decisions.  This also prevents corner cases where
a partial touch sequence would be improperly forwarded to the renderer after a
touch handler is registered.

BUG=332418

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244072 0039d316-1c4b-4281-b951-d872f2087c98
Fix PrerenderBrowserTest.PrerenderPageRemovesPending.

AddEventHandlersToLinkElement was misspelled, so it wasn't actually counting
prerender events.

BUG=none
TEST=PrerenderBrowserTest.PrerenderPageRemovesPending

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

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