Fix solid color scrollbars for sublayers.

I had forgotten to add a call to SetViewportWithinScrollableArea outside
the root layer.

NOTRY=true
BUG=223792


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190542 0039d316-1c4b-4281-b951-d872f2087c98
In ~ExtensionHost, close swapped-out RenderViews referring to this extension.

I don't think this is the ideal fix, but it works, and I don't think I
can get the real fix debugged by the M27 branch.

BUG=178542
TEST=Use the instructions at http://crbug.com/178542#c16

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190543 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Compress textual resources in memory cache http server.

This reduces intl1 memory usages by ~10M or 22%.

This has two benefits:
1. The memory usage by the http server seems to be causing intl1 to fail on the
   win perf bots.
2. Decompressing textual resources makes the page loads more realistic.

BUG=223543
TEST=intl1 page cycler on windows
NOTRY=True


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190544 0039d316-1c4b-4281-b951-d872f2087c98
cc: Avoid pointless gfx::Point/Size contructors when making Rects.

Instead of gfx::Rect(gfx::Point(), gfx::Size(3, 4)), use gfx::Rect(0, 0, 3, 4).
Instead of gfx::Rect(gfx::Point(), some_size), use gfx::Rect(some_size).

R=jamesr
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190547 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: In DriveResourceMetadata::RefreshEntry, reject entry with root resource id if it has parent

BUG=None
TEST=unit_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190548 0039d316-1c4b-4281-b951-d872f2087c98
Destroy NetworkChangeNotifier on the thread on which it is created

Previously NetworkChangeNotifier was created on UI thread, but could be 
destroyed on some other random thread, which could cause the crash in the 
linked bug.

Moved creation and destruction of the NetworkChangeNotifier to the 
network thread.

BUG=179476


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190549 0039d316-1c4b-4281-b951-d872f2087c98
Update WebKit to r146842.

BUG=none
TEST=none
TBR=yurys
Review URL: https://codereview.chromium.org/12916013

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190551 0039d316-1c4b-4281-b951-d872f2087c98
Support FD passing for NaCl on posix

We need this to make GetOSFileDescriptor work from NaCl module.

R=bradchen@chromium.org, bradnelson@chromium.org, bbudge@chromium.org
BUG=183015
TEST=locally tested with modified examples/file_io and https://codereview.chromium.org/13032002/. The 13032002 will also test this change as the test modified in 13032002 seems to run on NaCl

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190552 0039d316-1c4b-4281-b951-d872f2087c98
Remove retrial of reading from a cached file.

The retry function has an issue that breaks the buffer content.
Seems like it is not necessary, so just clean it up.

BUG=223603
TEST=Ran unit_tests and tested manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190553 0039d316-1c4b-4281-b951-d872f2087c98
Fix ChangeListLoader's callback invocation.

In some corner cases, it might have not invoked pending callback tasks,
or it invoked them too early before all feeds are ready.

BUG=223517

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190554 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Use RefreshEntry to implement DriveResourceMetadata::RenameEntry

BUG=None
TEST=unit_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190555 0039d316-1c4b-4281-b951-d872f2087c98
Method to get Media Galleries handlers in MediaGalleriesPrivateApi.

For the gatekeeper, we need list of media galleries handlers to know what to display in the action choice dialog. This patch adds a method whih returns such lists via a asynchronous call to chrome.mediaGalleriesPrivate.getHandlers.

TEST=Tested manually. Not in production, yet.
BUG=222565

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190556 0039d316-1c4b-4281-b951-d872f2087c98
Removed the OK button from the action choice dialog.

The OK button has been removed and since now, selected app is launched on click/touch.

TEST=Enter a sd/usb with dcim folder.
BUG=222941

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190557 0039d316-1c4b-4281-b951-d872f2087c98
Revert 190531 "Get OAuth2TokenService working on Android."

> Get OAuth2TokenService working on Android.
> 
> In order to get OAuth tokens on Android, we have to call out to Java. This CL
> makes it possible. It's not the ideal solution but works for now.
> 
> BUG= 222271
> 
> Review URL: https://codereview.chromium.org/12880014

TBR=dubroy@chromium.org
Review URL: https://codereview.chromium.org/12782018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190558 0039d316-1c4b-4281-b951-d872f2087c98
Bluetooth: Disable "IsConnectable" property for ChromeOS implementation.

The IsConnectable property tells if a given device can be re-connected
later once paired. If it is false, the device is not supposed to respond
to a connection attempt from the host, and since we know it, we don't
show the connect button for this kind of devices.

This fix rollbacks the IsConnectable implementation in ChromeOS and
default its value to true because some mice don't support pairing and should be possible to connect to them regardless the value of this property.

BUG=chromium:220553
TEST=Pair to Microsoft mouse 5000, disconnect and try to connect again.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190559 0039d316-1c4b-4281-b951-d872f2087c98
Implemented BluetoothAdapterMac::AddDevices() and BluetoothAdapterMac::RemoveUnpairedDevices().

This method will update the paired devices and make this information accessible from Bluetooth API.


BUG=135472


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190560 0039d316-1c4b-4281-b951-d872f2087c98
Fix data overwriting issue on ReadFromDownloadData.

There is an issue which overwrites the download_data_ if the pending
data is not yet consumed. This CL fixes it.

BUG=223603
TEST=Ran unit_tests and tested manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190561 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Fix inappropriate NULL check in  AddDriveMountPoint

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190562 0039d316-1c4b-4281-b951-d872f2087c98
Fix accessible bounding box when page is scrolled.

This patch is for merging; will add new test to prevent
this from happening again in subsequent changelist.

See this diff from the changelist that broke it to see the bug:
https://chromiumcodereview.appspot.com/12084028/diff/12004/content/browser/accessibility/browser_accessibility.cc
Originally the scrolling logic was applied to the main frame. Change 12084028 intended to have it affect all frames, but instead it affected all frames except the root frame (which has a distinct role in the accessibility tree).

BUG=223756
TBR=dtseng

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

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