Use FireWebUIListener() a little more

FireWebUIListener(name, ...) is essentially an alias for:

  CallJavascriptFunction("cr.webUIListenerCallback", base::Value(name), ...);

Using it reduces the amount of times we paste "cr.webUIListenerCallback" and
generally reduces the amount of parallel paths for notifying running web
UI pages.

Change-Id: Id3ee2622949c0fd1bba9705655de4cb0faf386f4
Reviewed-by: Esmael El-Moslimany <>
Commit-Queue: Esmael El-Moslimany <>
Auto-Submit: Dan Beam (slow until 1/29) <>
Cr-Commit-Position: refs/heads/master@{#625390}
5 files changed