IDL: Auto-declare implied methods only if not otherwise declared

An interface with an iterable<>, maplike<> or setlike<> declaration
should according to WebIDL have a number of additional methods, some
of which we already auto-declare.

Adjust this auto-declaration so that it's disabled if the interface
has an explicitly declared method with the same name already. This
allows an interface to override some or all of the implied methods,
and for instance declare them with different extended attributes.

BUG=432683

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

git-svn-id: svn://svn.chromium.org/blink/trunk@189805 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 53829034471d3c1d4aad4bc1a7754524f21ffdc2
  1. third_party/