Files.app: Fix the animation of progress items.

Previously the animation of progress items is broken and sometimes we cannot
detect the end of animation. This causes to remain the completed progress item.

The root cause is the progress track's width becomes 100% before the animation
starts. The ProgressCenterPanel is passed the reference of ProgressItem, and
refers it in a callback function, where the item value can be updated.

This CL make the ProgressCenterPanel save the item value in a local variable and
refer the variable in a callback function.

BUG=329400
TEST=Create 5 file and 5 directory, delete them in debug build.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242076 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242076
Refactoring: Remove an uneeded argment from TranslateBubbleView::TranslateBubbleView

We can use a WebContent to open a new tab instead of a Browser.

TEST=unit_tests --gtest_filter=TranslateBubbleViewTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242077 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242077