Minor fixes to the capturer and the processor

NOTRY=true

BUG=264611

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255346 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255346
Fix artifacts on the Apps button with CoreAnimation.

Without CoreAnimation, the bookmark bar buttons got redraw
messages whenever they were damaged (like, moved around,
made visible, etc). With CoreAnimation, the bookmark bar buttons
have their drawn contents cached and therefore need to be
explicitly told to re-draw.

The function BookmarkBarController::layoutSubviews should do
this, but it only iterates through the buttons in the buttons_ array,
which skips the "apps" and "other" bookmark buttons.

This patch adds those two back in. The general question of "where
else is the apps button assumed to be part of the buttons_ array" is
not answered.

BUG=340238
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255347 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255347
Get rid of mountPath dependency in Files app.

This patch simplifies the code and removed the dependency on mount path, which was redundant after migrating to volume ids and file systems per volume.

TEST=Tested manually, mounted and unmounted a archive and a usb device.
BUG=341263

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255348 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Change timing to update progress item properties.

This CL adds AnimationFrameCallback class to update the properties of progress
center items at the correct timing, and ensure it invokes the CSS animation.

Previously, we use setTimeout function to ensure changes of progress items
properties are applied to one by one, but if the number of milliseconds is less
than the frame inteval, it does not work.

BUG=348493
TEST=Make a repro function and call it multiple times.

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

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