[Activity Log] Resolve relative URLs in API arguments

When a relative URL appears in the arguments for an API call, and there
is an associated page URL (for example, the API call is a DOM call),
resolve the argument URL using the page as the base URL.

BUG=295059

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225508 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225508
Makes OnWindowDestroyed be sent after transients are destroyed

Currently WindowObservers are notified after transients are destroyed,
but not WindowDelegate. This patch makes the two consistent. Now both
are notified after transients are destroyed.

This is a precursor to making sure child widgets are destroyed before
the parent widget.

BUG=288953
TEST=covered by test
R=ben@chromium.org

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

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