Make clicking the restart bubble for crashed apps work.

Previously AppLoadService listened for
NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING before dispatching the
onRestarted() event after a reload, but in the case of packaged apps, which use
non-persistent background pages, that notification will never get fired. This
is because reloading an app doesn't cause its background page to get loaded -
only a relevant event causes the page to be woken up.

This patch fixes the issue by listening for NOTIFICATION_EXTENSION_LOADED
instead, which is always fired after a reload. It also determines whether an
extension is listening to an event by checking which events it has registered
for, not which ones it currently has a listener for,
NOTIFICATION_EXTENSION_LOADED is the notification that listeners get created
on, and so to avoid raciness we check registered events (ie: the persisted
list of events that an extension is interested in).

BUG=327964

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241162 0039d316-1c4b-4281-b951-d872f2087c98
Make task managers disable the GPU process

Change task manager tests to disable the GPU instead of turning
off accelerated compositing (as this doesn't have meaning in the
software composited world).

BUG=286038
TBR=yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241163 0039d316-1c4b-4281-b951-d872f2087c98
[Toolbar] Correct the borders for focused case.

BUG=315944

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241164 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241164
Restore positive responses for "audio/mp4" when avc1 is supported.

This case was broken by r221932/r222995.

BUG=329065
TEST=Updated browser_tests.
R=xhwang@chromium.org

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

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