Enable native messaging on the stable channel

BUG=177097
R=mpcomplete@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208286 0039d316-1c4b-4281-b951-d872f2087c98
mac: Remove ScopedCFTypeRef from base::mac::.

Most references were updated from base::mac:: to base:: in r208245.
Manually fix up a few stragglers in this CL too.

BUG=251957
R=mark@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208287 0039d316-1c4b-4281-b951-d872f2087c98
long times were getting ellipsis for mac (e.g. 10:00 AM) but were fine in linux/windows..? 5px does the job.

BUG=251629

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208288 0039d316-1c4b-4281-b951-d872f2087c98
Enable native messaging in chromoting webapp

BUG=173509
R=jamiewalch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208289 0039d316-1c4b-4281-b951-d872f2087c98
ui: Add LayerWithDelegateTest.SwitchLayerPreservesCCLayerState test

Add a test that verifies that ui::Layer's SwitchLayer() method, which
replaces its backing cc::Layer with a new instance, preserves states
that the ui::Layer had set on the old cc::Layer.

R=backer, piman
BUG=252494,242572

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208290 0039d316-1c4b-4281-b951-d872f2087c98
Add "PRIVATE" to the enum names of some private Pepper networking APIs:

- ppb_net_address_private.idl
- ppb_host_resolver_private.idl
- ppb_tcp_socket_private.idl
- ppb_udp_socket_private.idl

Currently, we have very similar enum names in the private and public
Pepper networking APIs (for example, PP_NETADDRESSFAMILY_IPV4
and PP_NETADDRESS_FAMILY_IPV4). The purpose of this CL is to make the
distinction more clear.

This CL doesn't break existing plugins compiled with old private networking enums (without "PRIVATE" in the names). They will still run on newer versions of Chrome.

The only consequence is that they will get compile errors when they compile with new SDK (with new enum names). But the errors should be very straightforward to fix.

BUG=253583
TEST=None
R=bbudge@chromium.org, tsepez@chromium.org, wez@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208291 0039d316-1c4b-4281-b951-d872f2087c98
Add option to enable sampler.

This CL plumbs in the ability for trace_ui and devtools to enable the
sampling profiler in trace viewer.

BUG=trace-viewer:245

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208292 0039d316-1c4b-4281-b951-d872f2087c98
Fix Widevine CDM adapter linking on Mac.

BUG=238742
R=xhwang@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208293 0039d316-1c4b-4281-b951-d872f2087c98
IndexedDB: Miscellaneous back-end code cleanup

Resolve trivial TODOs, fix naming in IDB_TRACE macros,
fix method name cases.

BUG=234278
R=alecflett@chromium.org,dgrogan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208294 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Unfork spdy_websocket_test_util_spdy{2,3}.* files

Introduce new SpdyWebSocketTestUtil class and use it in all
SPDY WebSocket tests.

BUG=226192
R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208295 0039d316-1c4b-4281-b951-d872f2087c98
Updated histograms.xml by using update_extension_functions.py.

The histograms.xml file got out of date.
This CL updated it.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208297 0039d316-1c4b-4281-b951-d872f2087c98
Do not show the notification of display configuration when unnecessary.

It should not be notified if the configuration change happens from
the settings UI. To achieve this casually, this CL simply blocks
the display notifications when chrome://settings/display is active.

This is not perfect but good enough I guess.

BUG=250650, 246271
R=oshima@chromium.org, jamescook@chromium.org, stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208299 0039d316-1c4b-4281-b951-d872f2087c98
[Android WebView] Persist cookies

Cookies where never persisted when Android WebView network stack
initialization, and this will fix that.

BUG=internal b/9416203
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208300 0039d316-1c4b-4281-b951-d872f2087c98
Add 3 more messages to CanHandleWhileSwappedOut list

This CL adds the following messages to the CanHandleWhileSwappedOut list:
  ViewHostMsg_SwapCompositorFrame
  ViewHostMsg_UpdateIsDelayed
  ViewHostMsg_DidActivateAcceleratedCompositing

The addition of ViewHostMsg_DidActivateAcceleratedCompositing fixes a browser and renderer state mismatch when the renderer
stops being accelerated while swapped out.

BUG=240979
TBR=creis

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208239

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208301 0039d316-1c4b-4281-b951-d872f2087c98
retry r207787: Use new logos in requestAutocomplete splash page.

after having rolled src-internal/DEPS

BUG=243555
TBR=sail@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208302 0039d316-1c4b-4281-b951-d872f2087c98
Do not dispatch synthetic mousemove events when mouse events are disabled

Ignore synthetic mousemove events in
RootWindow::DispatchMouseEventToTarget() when mouse events
are disabled.

BUG=249206,253312,252230
R=oshima@chromium.org, sadrul@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208303 0039d316-1c4b-4281-b951-d872f2087c98
Fix check_perms for r208246

Reland https://codereview.chromium.org/17569006/ with check_perms fix.

Support using loadable module for libpeerconnection on Android.

Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.

For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
This patch takes 2 steps:
1. build chrome with libpeer_target_type=loadable_module.
2. add libpeerconnection.so into the apk file.

TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
build chrome
re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
build chrome_with_libs
install Chrome-with-libs.apk and it works for https://apprtc.appspot.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208304 0039d316-1c4b-4281-b951-d872f2087c98
Disable hover state for close button on Find bar when it is closed.

BUG=227424

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208305 0039d316-1c4b-4281-b951-d872f2087c98
Separate NaCl switches to their own file.

This is part of an effort to componentize NaCl code.
BUG=244791

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208306 0039d316-1c4b-4281-b951-d872f2087c98
Add XRay library to SDK, but still experimental at the moment.
Will add xray.odt before commit (.odt is binary file)
BUG=none
TEST=build
R=noelallen@chromium.org

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

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