Fix default start position for synthetic scroll.

If no starting coordinates are specified for synthetic scroll, we want to start
in the center of the page. The current implementation computes these coordinates
wrt to the top-left corner of the *screen*, whereas the coordinates of the input
events contain coordinates wrt to the top-left corner of the *window*. This CL
fixes that.

BUG=328422

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240880 0039d316-1c4b-4281-b951-d872f2087c98
Focus on INPUT elements with x-webkit-speech.

Because of a behavior change of crbug.com/325496, we need to focus on an INPUT
element or move mouse pointer on it before starting a test.

Without this CL, InputTagSpeechBrowserTest.GrammarAttribute and
InputTagSpeechBrowserTest.TestBasicRecognition will fail.

BUG=325496
NOTRY=true
R=keishi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240881 0039d316-1c4b-4281-b951-d872f2087c98
Revert r240528 to reapply r240460; Roll swarm_client @ f89de358c2.

$ git log aab3a62beb..f89de358c2 --date=short --format="%ad %ae %s" | sed 's/@chromium\.org//'
2013-12-13 maruel Remove the ban on 'command' that are declared in included .isolate file.
2013-12-12 maruel Fix assert occurring on OSX due to already hardlinked files.
2013-12-11 ganetsky Create a .gitignore file and add *.pyc to it
2013-12-11 maruel Stop signalling swarming error on Windows file locking.
2013-12-11 maruel Ensure variables are decoded to unicode.
2013-12-06 maruel Rename --command-variable to --extra-variables.
2013-12-06 maruel Add real variable support and split --variable in 3 different flags.
2013-12-05 vadimsh Add 'offset' parameter to StorageApi.fetch(...) method.
2013-12-05 maruel Change log message to be clearer.
2013-12-05 vadimsh Support custom HTTP headers in net.url_open.
2013-12-03 vadimsh Remove urllib2 support.
2013-12-03 vadimsh Wait for Storage's internal threads to finish before exiting.
2013-12-03 vadimsh Fix swarming_smoke_test.py and isolateserver_test.py.

This commit is done manually, as the breakage caused by the last commit can't be
tested on the Try Server. This is because of the way
build/scripts/slave/runisolatedtest.py modifies the .isolated.state files.

R=vadimsh@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240882 0039d316-1c4b-4281-b951-d872f2087c98
Refactor audio manager for Android to avoid heavy tasks at startup.

Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.

All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL. Detection will not require BLUETOOTH permission.

BUG=324464
TEST=media_unittests --gtest-filter=AudioAndroid*
R=bulach@chromium.org, tommi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240883 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

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