Fixes the test expectation from fullscreen_area.

It may fail on win_aura builders.

BUG=none
R=sky@chromium.org
TEST=ash_unittests passed locally

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205989 0039d316-1c4b-4281-b951-d872f2087c98
Disable ExtensionCrashRecoveryTest.ReloadIndependently on Windows

Test times out. See bug.

BUG=174705
TBR=jennb
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205991 0039d316-1c4b-4281-b951-d872f2087c98
Restore thread safety to GpuChannelHost.

RefCountedThreadSafe + SupportsWeakPtr is generally a bad combo.
This changes how thread safety is handled in GpuChannelHost:
- Shared data/state set by the IO thread is moved onto the MessageFilter,
  protected by a lock.
- MessageFilter doesn't need to post tasks to the GpuChannelHost on the main
  thread.
- Most of the GpuChannelHost fields are constant, the remaining ones are atomic
  or protected by a lock.

It also includes various cleanup:
- Reduced the scope of some locks. In particular we mostly avoid taking locks
  while sending messages.
- Removed GpuChannelHostFactory::IsIOThread which isn't used.
- Simplifies channel state. We always are "connected" until we are "lost".

A behavior change is that the "lost" state is set directly on the IO thread, as
soon as we receive the channel error. This makes recreation logic less dependent
on precise task order.

BUG=242826
R=apatrick@chromium.org

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

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

Test times out on all platforms. See bug.

BUG=247447
TBR=xians
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205993 0039d316-1c4b-4281-b951-d872f2087c98
Use timed helper class in ObfuscatedFileUtil

BUG=248826
TEST=ObfuscatedFileUtilTest.*DropDatabases*
R=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205994 0039d316-1c4b-4281-b951-d872f2087c98
Fix webkit_storage exports definitions

Also removes webkit/storage/*

BUG=239109
R=tzik@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205996 0039d316-1c4b-4281-b951-d872f2087c98
Add landmine for win x64 trybots.

TBR=agable@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205997 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1537.0 to 1538.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205999 0039d316-1c4b-4281-b951-d872f2087c98
DriveFileSyncTaskManager should dispatch callback even if it has pending tasks

BUG=249220
R=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206001 0039d316-1c4b-4281-b951-d872f2087c98
Fix setPatternPhase: for layer backed views

The browser UI drawing code assumes that setPatternPhase: set the
phase relative to the bottom left of the window. For example, doing
setPatternPhase:NSZeroPoint will correctly line up the pattern image
for two sibling views with different origins.

For layer backed views the pattern phase is relative to the view origin.

This CL fixes pattern drawing by adding a utility method that correctly
offsets the pattern phase to be relative to the window origin.

BUG=245900
TEST=Run chrome with --use-core-animation. Verify that toolbars draw
correct. Apply a theme and verify that the theme's images are lined up
across toolbars and the tab strip.
TBR=avi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206004 0039d316-1c4b-4281-b951-d872f2087c98
Whitespace change to kick off bots

TBR=bevc,ukai
BUG=

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

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

Test is failing on bots. See bug.

BUG=249241

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206006 0039d316-1c4b-4281-b951-d872f2087c98
Remove dependency in MediaGalleriesPreferences for GalleryWatchStateTracker.
Make GalleryWatchStateTracker use observer interface.

BUG=241903

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206008 0039d316-1c4b-4281-b951-d872f2087c98
Make notifications API send bitmaps instead of data URLs to the browser.

Currently we encode the image data downloaded from the net as a data
URL, which still needs to be sent back to a renderer to be converted
into a bitmap.  This patch sends over an ImageData object which is
ready to be put into an SkBitmap (with a RGBA->ARGB conversion).

TBR=sky@chromium.org - Changes for ash/ tests with notifications
BUG=238823,232288,168943

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206009 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Put DBus unit tests in the dbus namespace, so one does not need to write dbus:: everywhere. Remove some other dbus:: usages in the dbus namespace.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206010 0039d316-1c4b-4281-b951-d872f2087c98
The cache was designed to load an extension's stored geometry
from sync only when the extension is first loaded. Because the
cache was being lazily created on first access, it would never
exist on browser startup when all installed extensions were
being loaded.

This will attempt to load an extension's geometry from storage 
on first access as well, if it is not already loaded.

BUG=246810

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206011 0039d316-1c4b-4281-b951-d872f2087c98
GPU: Eliminate unnecessary State on async idle upload path.

With the recent refactoring, this State is no longer necessary and
unnecessarily complicates the code. There should be no change in
behaviour.

BUG=240504

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206012 0039d316-1c4b-4281-b951-d872f2087c98
Give more request types a TransportSecurityState.

DCHECK on NULL TransportSecurityState, as a precursor to a real CHECK. It
should be an error to try to connect with an SSL client socket without
having a live TSS.

BUG=246724

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

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

This change exposes the PPB_TCPSocket_Dev interface and makes it to share the same backend as PPB_TCPSocket_Private.

It doesn't include:
- apps permission check;
- TCP socket options that PPB_TCPSocket_Private doesn't support.
These will be implemented in separate CLs.

BUG=247225
TEST=newly added test_tcp_socket.{h,cc}.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206014 0039d316-1c4b-4281-b951-d872f2087c98
Remove files that are no longer used

BUG=246534

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

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