Description[Extensions Bindings] Add a registerEventArgumentMassager
Some custom hooks need to modify ("massage") the arguments originally
passed from the browser. This can be used to hide implementation
details, introduce an unserializable concept (like a file handler), or
add extra parameters (like a callback).
Add support for this by extending the APIBindingBridge with a
RegisterEventArgumentMassager method (exposed as
registerEventArgumentMassager in the bindings), and extend
APIEventHandler to support these.
BUG=653596
Review-Url: https://codereview.chromium.org/2727583004
Cr-Commit-Position: refs/heads/master@{#454735}
Committed: https://chromium.googlesource.com/chromium/src/+/f9cdb557485c0186a1f4520c966628736465b84c
Patch Set 1 : . #
Total comments: 9
Patch Set 2 : jbroman's #
Total comments: 2
Patch Set 3 : lazyboy's #Patch Set 4 : . #
Messages
Total messages: 24 (16 generated)
|