chromeos/speech API: Do not try to read kMetricsReportingEnabled since
this is not registered for chromeos.

Otherwise this results in NOTREACHED in PrefService::GetBoolean():
  "Trying to read an unregistered pref: user_experience_metrics.reporting_enabled".

Note that we do not register this pref explicitly for chromeos, see
BrowserProcessImpl::RegisterPrefs().

I need this to land crrev.com/24292004 otherwise tests fail for chromeos.

BUG=291140
Test=Build chromeos in debug mode (so NOTREACHED() is not stripped out.
  Run a webpage that uses Web Speech API, browser shouldn't crash with
  this change.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225779 0039d316-1c4b-4281-b951-d872f2087c98
Fix NativeMessageProcessHost to cleanup zombies.

BUG=293474
R=mpcomplete@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225780 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225780
Don't set DesktopNativeWidgetAura's window transparent if not necessary.

If it's not using the native frame (e.g. on XP), the window doesn't need to be transparent, which saves a clear before painting its contents.

BUG=
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225781 0039d316-1c4b-4281-b951-d872f2087c98
Avoid owning TestingValueStore in naked pointers

There was a leak report (see the bug).

BUG=298788

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225782 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225782
cc: Add RenderPass::CopyAll().

This method does a deep copy of a RenderPass. This is needed since
we must copy the RenderPass contents from DelegatedRendererLayer to
the DelegatedRendererLayerImpl instead of passing ownership, so that
if the DelegatedRendererLayer moves to a new tree, it can still pass
a copy of the render passes to the impl side again.

Tests:
RenderPassTest.CopyAllShouldBeIdentical

R=piman
BUG=263069
NOTRY=true

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

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