Switching getting/dismissing cards to new protocol.

BUG=164227
TEST=No

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227817 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] nacl_io: Add fcntl implementation.

So far only FGETFL and FSETFL are implemented.  Since
these flags are handle specific the implementation is
in KernelHandle rather than MountNode.

R=noelallen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227818 0039d316-1c4b-4281-b951-d872f2087c98
Revert 227583 "Disable image transport surface on all windows ma..."

> Disable image transport surface on all windows machines.
> 
> We want to try using the direct presentation path everywhere, so blacklist texture sharing on all machines. If this works, we can delete the image transport surface code later.
> We've made the image transport surface work even with the sandbox at full strength, so remove the code that reduces the GPU sandbox in this case.
> 
> BUG=304369
> R=kbr@chromium.org
> 
> Review URL: https://codereview.chromium.org/26073002

TBR=jbauman@chromium.org
BUG=304369,305621,

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227819 0039d316-1c4b-4281-b951-d872f2087c98
Don't enforce maximum dialog size for browser modal dialogs.

These dialogs are not contained by the browser window, so allow them to have whatever size they want to have.

BUG=288493

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227820 0039d316-1c4b-4281-b951-d872f2087c98
Move images from drawable-mdpi to drawable.

Not to fear, they're moved back to drawable-mdpi under the covers at
build time (https://chromiumcodereview.appspot.com/23944009), and the
apk is identical to before. The benefit: Android lint can find resources
that don't exist in all resolutions, and it's clearer what resolution
these mdpi images are.

BUG=289843
R=yfriedman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227821 0039d316-1c4b-4281-b951-d872f2087c98
Remove obsolete webkit/tools/test_shell directory

All that was left here were a few resource files. Some of those did not
appear to be used, while the others already had duplicates available
in content/shell/resources.

R=jamesr
TBR=darin

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227822 0039d316-1c4b-4281-b951-d872f2087c98
Implement presubmit support for _unittest_win includes, etc.

Without this change, xxx_unittest_win.cc would cause an erroneous presubmit error by including xxx_win.h as its first 'special' include.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227823 0039d316-1c4b-4281-b951-d872f2087c98
Fix transition from hardware to software compositing.

When the the LayerTreeHost's output surface changes, the capabilities of
the renderer change. In particular, support for BGRA textures goes away
when transitioning from hardware compositing to software compositing.

The preferred texture format is cached by tiled layer types and isn't
updated when the renderer's capabilities change, resulting in BGRA
textures being requested for the new renderer that doesn't support them.

Add a callback to all layers on output surface creation so they can
update any cached values that they have.

Also fix a bug where LayerTreeHostImpl::resource_provider_ was assumed
to exist when getting a callback from the GPU memory manager, when in
it may have already been destroyed.

BUG=304384
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227824 0039d316-1c4b-4281-b951-d872f2087c98
Update webrtc/libjingle to r4948.

R=mallinath@chromium.org, sergeyu@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227826 0039d316-1c4b-4281-b951-d872f2087c98
Land Recent QUIC changes.

Addressing comments in Jana's review of cr/52231261.

Merge internal change: 53582401

Add a temporary legacy quic constructor

Merge internal change: 53506960

QUIC: disable P-256 support on the server.

The P-256 key generation is done with OpenSSL, which doesn't use the
QuicRandom passed to DefaultConfig(). This is causing the generated
server configs to be non-deterministic and breaking 0-RTT handshakes.

Merge internal change: 53501783

Fix an LOG to use the correct condition in QuicReceivedPacketManager and
change it to a DFATAL so in the future tests will prevent re-occurrence.

Merge internal change: 53483753

Cleanup: Rename OnIncomingAck to OnPacketAcked, and remove unneeeded
argument from SentPacketManager::OnIncomingAck.

Merge internal change: 53483155

Fix a bug in QuicConnection/QuicConnectionHelper if the helper buffered
the write (as is the case in chrome).  In this case, the sent packet was
not accounted for properly.

Merge internal change: 53462749

Refactor to change WritePacket to return a WriteResult struct.

Merge internal change: 53382221

Fixing a bug where the version negotiation packet would get dropped on
the floor if the socket was write blocked at the time it was sent. The
packet is now queued.

Merge internal change: 53317846

Create a new QUIC_INVALID_CHANNEL_ID_SIGNATURE error to replace a usage
of QUIC_INTERNAL_ERROR.

Merge internal change: 53277933

Added a todo to merge internal CL 53267501 when chromium's version of
OpenSSL has latest AEAD code.

Didn't merge internal change: 53267501

R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227827 0039d316-1c4b-4281-b951-d872f2087c98
app_shell: Limit DEPS to apps/shell

And disallow dependencies on chrome in the apps/shell code.

BUG=None
TEST=checkdeps succeeds
TBR=jam@chromium.org - discussed offline
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227828 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Enable final interstitial animation

BUG=286536
R=estade@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227830 0039d316-1c4b-4281-b951-d872f2087c98
C++ Readability Review for caitkp

BUG=10927483

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227832 0039d316-1c4b-4281-b951-d872f2087c98
Store more info about shortcuts, part 2.

This upgrades the database to store the new fields and plumbs the data
everywhere.  It also adds a conversion function for the AutocompleteMatch::Type
field during shortcut construction, since I realized that not every type should
be mapped 1:1.

BUG=304441
TEST=Shortcuts originally mapping to extensions still look correct across Chrome restarts.
R=bartn@chromium.org, brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227833 0039d316-1c4b-4281-b951-d872f2087c98
Update the Public Suffix List to the latest version

This updates the effective-TLD data file to:
06c405ba54b3 2013-09-17 17:54 +0100
It includes changes from a number of Mozilla bugs, listed on
https://hg.mozilla.org/mozilla-central/log/06c405ba54b3/netwerk/dns/effective_tld_names.dat
between f8a861253c57 (2013-05-14 17:35 +0100) and 06c405ba54b3
(2013-09-17 17:54 +0100)

BUG=37436
R=pkasting@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227834 0039d316-1c4b-4281-b951-d872f2087c98
Do not send mouse-move when target is destroyed due to synthesized mouse-exit in RootWindow

When a RootWindow is going to dispatch a mouse-move to a child, if the
target is different than the current mouse_moved_handler_, it sends a
synthesized mouse-exit to to mouse_moved_handler_. The target might be
destroyed because of this mouse-exit. If that's the case, the original
mouse-move should not be sent to the destroyed target.

BUG=304276

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227835 0039d316-1c4b-4281-b951-d872f2087c98
Fix cross-frame horizontal scrolling on the uber page.

Documents in standards mode should now refer to document.documentElement.scroll{Left,Top}. 

document.body.scroll{Left,Top} is deprecated.

R=arv@chromium.org
BUG=305745

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227836 0039d316-1c4b-4281-b951-d872f2087c98
Revert 227827 "Land Recent QUIC changes."

Causing problem for Linux ASAN:
http://build.chromium.org/p/chromium.memory/buildstatus?builder=Linux%20ASAN%20Tests%20%281%29&number=19137

> Land Recent QUIC changes.
> 
> Addressing comments in Jana's review of cr/52231261.
> 
> Merge internal change: 53582401
> 
> Add a temporary legacy quic constructor
> 
> Merge internal change: 53506960
> 
> QUIC: disable P-256 support on the server.
> 
> The P-256 key generation is done with OpenSSL, which doesn't use the
> QuicRandom passed to DefaultConfig(). This is causing the generated
> server configs to be non-deterministic and breaking 0-RTT handshakes.
> 
> Merge internal change: 53501783
> 
> Fix an LOG to use the correct condition in QuicReceivedPacketManager and
> change it to a DFATAL so in the future tests will prevent re-occurrence.
> 
> Merge internal change: 53483753
> 
> Cleanup: Rename OnIncomingAck to OnPacketAcked, and remove unneeeded
> argument from SentPacketManager::OnIncomingAck.
> 
> Merge internal change: 53483155
> 
> Fix a bug in QuicConnection/QuicConnectionHelper if the helper buffered
> the write (as is the case in chrome).  In this case, the sent packet was
> not accounted for properly.
> 
> Merge internal change: 53462749
> 
> Refactor to change WritePacket to return a WriteResult struct.
> 
> Merge internal change: 53382221
> 
> Fixing a bug where the version negotiation packet would get dropped on
> the floor if the socket was write blocked at the time it was sent. The
> packet is now queued.
> 
> Merge internal change: 53317846
> 
> Create a new QUIC_INVALID_CHANNEL_ID_SIGNATURE error to replace a usage
> of QUIC_INTERNAL_ERROR.
> 
> Merge internal change: 53277933
> 
> Added a todo to merge internal CL 53267501 when chromium's version of
> OpenSSL has latest AEAD code.
> 
> Didn't merge internal change: 53267501
> 
> R=rch@chromium.org
> 
> Review URL: https://codereview.chromium.org/26385004

TBR=rtenneti@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227837 0039d316-1c4b-4281-b951-d872f2087c98
Check the extension for experimental API permission.

The current code that checks to see if the extension is enabled for
Experimental API calls only checks the command-line flags. It needs
to also check to see if the Extension has been granted Experimental
API permission from the webstore.

The old command line check is still needed to detect when the flag
is set directly in chrome://flags.

BUG=305342
R=scheib@chromium.org

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

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