Media Galleries API: Fix settings/content WebUI dialog behavior on add/delete.

Changed the dialog to observe MediaGalleriesPreferences instead of using PrefChangeRegistrar. Previously, the dialog was getting notified of an update before MediaGalleriesPreferences had a chance to update its internal state.

The 'solution' does seem to bloat the SLOC a bit, but word on the street is that this dialog is getting removed soon anyways...

BUG=305079

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228025 0039d316-1c4b-4281-b951-d872f2087c98
Support calculation of inflated bounds for rotation transform operations.

We compute the inflated bound for a rotated 3d box by computing the axis aligned
bounding boxes for the arcs described by the corners during the rotation and
taking the union of those boxes. Lots of fun math.

R=ajuma@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228026 0039d316-1c4b-4281-b951-d872f2087c98
Fix about:memory tooltip positioning.

R=arv@chromium.org
BUG=305742

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228027 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228026
Copy runtime DLLs only if the contents have changed

This is an attempt to avoid sharing violations during
create_installer_archive.py on the Win x64 bots. See linked bug for the
nitty-gritty.

R=gab@chromium.org
BUG=305877

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

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