Reset the state of the download item view in response to losing mouse capture a durin...
commita651d32fc594cb1a5f0fd41577bc768ef84d5a4f
authorasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Sep 2012 04:20:49 +0000 (28 04:20 +0000)
committerasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Sep 2012 04:20:49 +0000 (28 04:20 +0000)
tree0b773026a6745f24ac9d226fa01063bca175cfda
parent82590cbc744c20cd174f52b5321be8be799ae7f2
Reset the state of the download item view in response to losing mouse capture a during drag&drop operation.

Otherwise on Chrome OS the download item remains in a pressed state through the drag & drop operation and also thereafter.

Also fix animations during download item view state transitions. Previously on Windows an incorrectly started animation caused a brief flicker of the download item at the start of the drag operation.

BUG=152058

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159203 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/views/download/download_item_view.cc
chrome/browser/ui/views/download/download_item_view.h