Mouse movement must exceed threshold to trigger autoclick.

BUG=272401
TEST=new unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230650 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230650
Make chrome://thumb2 check both HTTP and HTTPS

To improve thumbnail matches for chrome://thumb2, we now check both HTTP and HTTPS for input URLs. Details:

- Priority is given to the original protocol; so HTTP => check [HTTP, HTTPS], and HTTPS => check [HTTPS, HTTP].
- No change in behavior for other protocols.
- Added ToggleHTTPAndHTTPS() in url_utils.cc, and unit test.
- Some minor changes in other files.

BUG=

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

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