With the overlay path moving back to passing AcceleratedWidgets, move the implementation back into the surface factory.

This is https://codereview.chromium.org/445163003/ plus unittest fixes.
[email protected]
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#288738}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288738 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed