Affected files (+210, -5 lines): M mojo/public/js/associated_bindings.js M mojo/public/js/bindings.js A third_party/WebKit/LayoutTests/mojo/associated_binding.html
yzs...@chromium.org
unread,
Apr 27, 2017, 1:28:39 PM4/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wang...@chromium.org, chromium...@chromium.org, qsr+...@chromium.org, viettrung...@chromium.org, yzshen...@chromium.org, aba...@chromium.org, a...@chromium.org, blink-...@chromium.org, da...@chromium.org
https://codereview.chromium.org/2844133003/diff/1/mojo/public/js/associated_bindings.js#newcode237 mojo/public/js/associated_bindings.js:237: function AssociatedBindingSetEntry(associatedBindingSet, interfaceType, impl, For function definition, please either fit all parameters on a single line (if possible), or put each on a separate line and align them. (There is no such requirement for function calls.)
On 2017/04/27 17:28:38, yzshen1 wrote: > For function definition, please either fit all parameters on a single line (if > possible), or put each on a separate line and align them. > (There is no such requirement for function calls.)
On 2017/04/27 17:28:38, yzshen1 wrote: > Could we design BindingSetBase/BindingSetEntry to be able to handle > associated/non-associated case. And then make BindingSet/AssociatedBindingSet > inherit BindingSetBase? > > It seems more robust than overriding some methods from BindingSet.