Switch all remaining android builders to ninja

Remove make build logic and switch all bots to use ninja.
Many bots already use ninja to build, including
Android Builder (dbg) on main waterfall.

Also fix issue introduced in r154587 where experimental
compile did not use goma.

BUG=157947
R=Yaron

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183712 0039d316-1c4b-4281-b951-d872f2087c98
Check whether RenderWidgetHost points to actual RenderViewHost before casting.

I'm adding a DCHECK initially, so we can detect problematic usage in try runs. If we feel we need a stronger protection, this can be changed to return NULL pointer, but it will require changing all call sites.

BUG=177317

Review URL: https://chromiumcodereview.appspot.com/12330029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183713 0039d316-1c4b-4281-b951-d872f2087c98
[Autofill] Add ability to load Risk fingerprint data in AutofillDialogControllerImpl.

BUG=166596


Review URL: https://chromiumcodereview.appspot.com/12212057

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183714 0039d316-1c4b-4281-b951-d872f2087c98
[MIPS] Use BlockDifference_C for MIPS

Use C version for block difference. Fixes a build break for MIPS.

BUG= https://code.google.com/p/chromium/issues/detail?id=130022
TEST=make chrome

Review URL: https://chromiumcodereview.appspot.com/12326024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183715 0039d316-1c4b-4281-b951-d872f2087c98
Changed menu accelerators color and copy/paste/zoom buttons in wrench menu to match rest of the menu colors.

BUG=177233


Review URL: https://chromiumcodereview.appspot.com/12310024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183716 0039d316-1c4b-4281-b951-d872f2087c98
Store the content bounds of the shell window, rather than the frame bounds.

Before, windows would gain $TITLEBAR_HEIGHT pixels in height each time they
were closed and opened again.

Also, make the system remember the restored bounds of the window instead of the
current bounds (i.e. if the window is maximized when it is closed, then when it
is reopened it will have the bounds it had before it was maximized.)

BUG=160343


Review URL: https://chromiumcodereview.appspot.com/12282022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183717 0039d316-1c4b-4281-b951-d872f2087c98
Fix a bug on desktop win_aura where shell windows didn't show a shadow.

remove_standard_frame must be set before HWNDMessageHandler::Init.


Review URL: https://chromiumcodereview.appspot.com/12326027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183718 0039d316-1c4b-4281-b951-d872f2087c98
Fix minor issue with build/android/envsetup.sh

Bash variable was not properly quoted.  Won't affect bots.

R=Yaron
TEST="GYP_GENERATORS="a = b" . build/android/envsetup.sh
     does not return error.
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/12327031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183719 0039d316-1c4b-4281-b951-d872f2087c98
Update Java version metadata for Feb 2013 CPU.
http://www.oracle.com/technetwork/topics/security/javacpufeb2013update-1905892.html

BUG=177152
Review URL: https://codereview.chromium.org/12321004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183720 0039d316-1c4b-4281-b951-d872f2087c98
Bluetooth: Increase the DBus CreatePairedDevice timeout to 120s

The previous timeout was 70 seconds, and given the feedback saw, it wasn't
enough.

BUG=chromium-os:37387
TEST=Connect/pair to a device and let it timeout. An "Unknown error" should NOT be shown.


Review URL: https://chromiumcodereview.appspot.com/12289017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183722 0039d316-1c4b-4281-b951-d872f2087c98
Allows command line switches for Chrome in chromedriver.

BUG=169090

TEST=chromedriver2_unittests  --gtest_filter=*ProcessCommandLine*


Review URL: https://chromiumcodereview.appspot.com/12262015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183725 0039d316-1c4b-4281-b951-d872f2087c98
Truncate the download file name if it exceeds the filesystem limit.

BUG=162734
TEST=Manually tested (Rename a file on Google Drive to >300 characters, and download).


Review URL: https://chromiumcodereview.appspot.com/12212010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183727 0039d316-1c4b-4281-b951-d872f2087c98
Fixing activation state problem with the launcher acessiblity pane


BUG=165089
TEST=unittest


Review URL: https://chromiumcodereview.appspot.com/12315021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183728 0039d316-1c4b-4281-b951-d872f2087c98
Add presubmit exception for PPAPI_RELEASE changes to pp_macros.h

The C header generator adds a PPAPI_RELEASE macro based on all the
IDL files, so pp_macros.h may change while its IDL does not.


Review URL: https://chromiumcodereview.appspot.com/12317032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183729 0039d316-1c4b-4281-b951-d872f2087c98
Avoid creating an extra RVH for a tab's opener when one is pending.

This prevents a crash when later deleting the tab.

BUG=176252
TEST=See bug for repro steps.


Review URL: https://chromiumcodereview.appspot.com/12319035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183730 0039d316-1c4b-4281-b951-d872f2087c98
Small tidy up to the data_formatter

Slightly simplify code and avoid a copy.
This is a followup to crrev.com/181498

BUG=

Review URL: https://chromiumcodereview.appspot.com/12207087

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183731 0039d316-1c4b-4281-b951-d872f2087c98
Add originator_* fields to mock connection tests

The upcoming UniquePositions patch will rely on the
originator_cache_guid and originator_client_item_id fields which are
sent down on the GetUpdate response.  This commit updates many of the
tests that use the MockServerConnectionManager to provide mock values of
those fields.  Their values will be ignored for now, but committing this
early will make the UniquePositions patch smaller.

A few of the tests involved nodes that were bookmarks and also had
non-NULL unique_client_tag values.  Such items do not exist outside of
tests, and much of the code doesn't know how to handle them properly.
To avoid having to assign origiantor_client_item_ids and
originator_cache_guid values to these items (which would make them even
more unrealistic), the tests were modified to use preference nodes
instead of bookmarks.

BUG=145412

Review URL: https://chromiumcodereview.appspot.com/12326018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183732 0039d316-1c4b-4281-b951-d872f2087c98
Introduce intercepting and handling devtools messages in the renderer.

Add interception for DOM.setFileInputFiles, that gives appropriate permissions.
BUG=167100
TBR=jam


Review URL: https://chromiumcodereview.appspot.com/12218134

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183735 0039d316-1c4b-4281-b951-d872f2087c98
[Autofill] Remove some unneeded methods from AutofillManagerDelegate

BUG=none


Review URL: https://chromiumcodereview.appspot.com/12327028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183736 0039d316-1c4b-4281-b951-d872f2087c98
Add QUIC to Alternate-Protocol support.


Review URL: https://chromiumcodereview.appspot.com/12156005

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