Thread ui opacity animations

BUG=164206


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

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

This is trigger a latent issue in views which results in a memory leak
each time a Widget is destroyed.

> Update scoped_ptr<T>::reset() to more closely match std::unique_ptr<T>.
> 
> Remove the no-op behavior of a scoped_ptr "self-reset", and update the
> reset() method to detect problematic dependencies on the sequence of
> events. Eventually, reset() will be updated to exactly match the
> implementation of std::unique_ptr<T> by setting data_.ptr to the new
> value before deleting the old value.
> 
> However, this will expose latent bugs where a destructor invoked
> transitively by reset() attempts to dereference the same scoped_ptr.
> Relying on the value of get() in this instance will dispatch calls to
> the incorrect object. As a temporary measure to detect this class of
> bugs, set data_.ptr to NULL during deletion so that it results in a
> crash.
> 
> BUG=162971,176091
> 
> Review URL: https://codereview.chromium.org/12223113

TBR=dcheng@chromium.org
Review URL: https://codereview.chromium.org/12317084

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184255 0039d316-1c4b-4281-b951-d872f2087c98
Ignoring missing backslash at the end of a path if not specified by the url, but by the pattern


BUG=171814
TEST=unittest


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184256 0039d316-1c4b-4281-b951-d872f2087c98
Fix net::FileStream to handle all errors correctly.

This CL adds FileStream::Context::IOResult struct that's used to pass 
results of IO operations inside FileStream::Context. Following bugs are 
fixes:

1. On POSIX net::FileStream::Read() and net::FileStream::Write() would
   return a positive result in case of an error. This happens because 
   POSIX errors are positive integers and FileStream was written with 
   assumption that they are negative.
2. On Windows Seek() and Flush() errors were not handled correctly.
   This is because CheckForIOError() was assuming that all error codes 
   are negative, but RecordAndMapError() was mapping positive errors.
3. On Windows results of asynchronous ReadFile() and WriteFile() were
   not handled correctly - ERR_IO_PENDING would be returned even when
   operation completes synchronously.

Also added unittests to check that error codes are handled correctly 
now.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184257 0039d316-1c4b-4281-b951-d872f2087c98
Add a mode flag to the tracing framework.

The mode is provided when SetEnabled is called. Currently there
is only one mode which is the trace until buffer is full mode.

We will be adding a continuous tracing mode which this will support.

BUG=156025


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184258 0039d316-1c4b-4281-b951-d872f2087c98
Factor out uses of WebContentsModalDialog interface functions from WebContentsModalDialogManager

This CL is part 3 of 6 in the work to remove the WebContentsModalDialog
interface.  It removes uses of the WebContentsModalDialog interface from
WebContentsModalDialogManager, in favor of delegating to the appropriate
NativeWebContentsModalDialogManager subclass.  This adds new subclasses
for Cocoa and Gtk to handle those platforms.

This builds on part 2 in https://codereview.chromium.org/12276010.

BUG=157161

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184259 0039d316-1c4b-4281-b951-d872f2087c98
Adding merchant_domain to all Wallet requests.
In addition, changes DictionaryValues keys to constants and adds missing risk params to UpgradeInstrument calls.


BUG=177486


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184260 0039d316-1c4b-4281-b951-d872f2087c98
Disable failing trybot panel tests.

BUG=175760
TBR=jianli@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184261 0039d316-1c4b-4281-b951-d872f2087c98
Explicitly use cc-exp-month and cc-exp-year as cc-exp cannot be used to set details on CreditCard object.

BUG=172135


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184262 0039d316-1c4b-4281-b951-d872f2087c98
JSON Compiler should convert the namespace value in lowerCamelCase to unix_name for the referenced dependency.

BUG=159265

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184263 0039d316-1c4b-4281-b951-d872f2087c98
Prevent bindings escalation on an existing NavigationEntry (attempt 3).

BUG=173672
TEST=See bug for repro steps.


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

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

This is to test the hypothesis that this change is responsible for a memory increase in the plugin process. It is a temporary change and should be reverted within the coming days.

BUG=176330

> Fix enable state of Pepper Flash.
> 
> Component-updated and bundled Pepper Flash share the same enable state. When
> reading from the Preferences file, the previous code ignored the enable state
> if it was associated with the component-updated path. That was wrong because if
> the component-updated Flash was newer, the enable state would be recorded with
> that path. The outcome was that everytime users restarted the browser, Pepper
> Flash was enabled, even if they disabled it before.
> 
> TBR=bauerb@chromium.org
> BUG=150596
> TEST=None
> 
> Review URL: https://codereview.chromium.org/12079044

TBR=yzshen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184265 0039d316-1c4b-4281-b951-d872f2087c98
Change flags on CRT PE sections within allocator shim to be
read only to fix bug 177250

BUG=177250


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184266 0039d316-1c4b-4281-b951-d872f2087c98
Check for vector size mismatch in release builds too.

BUG=177815
Review URL: https://codereview.chromium.org/12328065

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184267 0039d316-1c4b-4281-b951-d872f2087c98
Update plug-in version metadata for Reader and Shockwave.

BUG=177383
Review URL: https://codereview.chromium.org/12319040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184268 0039d316-1c4b-4281-b951-d872f2087c98
Allow ChunkDemuxer to accept audio object types with leading zeros.


BUG=177354
TEST=ChunkDemuxerTest.TestCodecIDsThatAreNotRFC6381Compliant


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184269 0039d316-1c4b-4281-b951-d872f2087c98
When performing an SSL renegotiation and requesting a certificate status, clear any existing certificate status messages received.

Failure to clear the status results in handshake failures.

BUG=170328
TEST=See bug


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184270 0039d316-1c4b-4281-b951-d872f2087c98
In Canary, crash the browser if IO thread doesn't respond
in 10 seconds. We are hoping to catch hung browser process
and get some data. Will revert after getting some data.

R=jar@chromium.org
Review URL: https://codereview.chromium.org/12314084

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184271 0039d316-1c4b-4281-b951-d872f2087c98
Fix Win64 official build due to missing pyauto target

r184171 broke the official build. This fix just disables
pyauto in the official build like it is in unofficial.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184272 0039d316-1c4b-4281-b951-d872f2087c98
Propagate FULL_SAFE_BROWSING and MOBILE_SAFE_BROWSING to extensions code, which
re-enables extension safebrowsing. It was inadvertently disabled in r183082.


BUG=154149
TBR=ben@chromium.org

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

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