Make ChromeOS Launcher only toggle between opening as tab and window for streamlined hosted apps.

This CL removes the "Open as..." options in ChromeOS Launcher when streamliend
hosted apps are enabled and replaces it with a single "Open as Tab" option that
is toggled to switch between opening as window and tab.

This patch covers a missed case in https://chromiumcodereview.appspot.com/26440005/ .

BUG=318607

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240335 0039d316-1c4b-4281-b951-d872f2087c98
cc: Don't cancel poll_for_draw_triggers_closure_ too early.

Previously, the second poll event would always get canceled before
it has a chance to be run.

Existing tests have been modified to abort multiple commits in a
row. Although these don't fail without this patch, they are only
passing because of distant side-effects that happen to result
in a third poll event being scheduled.

BUG=327859

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240336 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240336
Translate: Add UMAs Translate.DeclineTranslateDismissUI and Translate.ShowErrorUI

These are more general versions of Translate.DeclineCloseInfobar and Translate.ShowErrorInfobar and used to compare the infobar and the new UX (bubble).

BUG=318649
TEST=manual
(Cause translate error with --translate-security-origin and see chrome://histograms)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240337 0039d316-1c4b-4281-b951-d872f2087c98
Store GPU pixel test reference images outside source tree

Instead of keeping the Android GPU pixel test reference images inside
the source tree, store them under the top level build bot directory,
e.g.,
/b/build/slave/<slave_name>/build/content_gpu_data/telemetry/{gpu_reference,generated}

This matches the location used on the non-Android GPU bots.

This patch also gives the current SVN revision to the test runner so the
reference images will get updated correctly.

TBR=navabi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240338 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240338
Disable -soft_kills in Dr. Memory to avoid hangs with the new python testserver.

BUG=https://code.google.com/p/drmemory/issues/detail?id=1404
TBR=zhaoqin@chromium.org

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

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