Fix chrome_tests.sh for local workflow

This CL adds testing for the case that the user has not specified -b and
--target values before operations related to them, since later on the
the script handles these values not being specified. This usage is
perscribed in developer docs at
http://www.chromium.org/developers/how-tos/using-valgrind. Additionally
I reworked the check in the assert to properly handle the case when the
dir passed into -b ends in a /, since I did that while trying to
understand the code and was very confused why the assert wasn't
tripping.

BUG=308576
TEST=Tested manually using a variety of different command lines to make
     sure the script behaves as I expected.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230329 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230329
Delay navigation of contents to NTP or apps page on canceling sign in.
This prevents the crash in bug 293261 as well as handles the navigation
when the contents is in the process of loading.

BUG=297510

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230330 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230330
ash: Fix minimize and Cloud Print in keyboard overlay

* Removed "Minimize window" from Alt-minus to match crbug.com/309915
* Added Cloud Print to Ctrl-Shift-P
* Fixed capitalization of "incognito"

BUG=309440
TEST=Hit Ctrl-Shift-/ to view keyboard overlay, hold down Alt, nothing shows for minus key, hold down Ctrl-Shift, cloud print shows for P key

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

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