commit | 6e850920ee154c82047f1c0ac21e78433c8e3017 | [log] [tgz] |
---|---|---|
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 05 03:22:48 2012 |
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 05 03:22:48 2012 |
tree | d91b0921ca58a097885c158313e337573cccbdb0 | |
parent | b66771cf74ae096828c7ff680e821caf917fbe2c [diff] |
Add a more generic API for dispatching events from extension EventRouter. Also fixes a bug where chrome.tabs.oncreated.addlistener is called twice for event pages. The new API allows the caller to specify a callback which gives them a chance to tailor the event args for each extension and Profile. BUG=163246,162543 Review URL: https://chromiumcodereview.appspot.com/11316338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171141 0039d316-1c4b-4281-b951-d872f2087c98