IDL: Improve "includes for type" mechanism in various ways

- Optionally pass extended attributes along with the type, so that the
  includes generated can depend on it. (This is not needed now, but will
  be in the future.)

- Add includes for the types of method arguments, getters and setters.

- Cleanup some (now) redundant calls to add_includes_for_type() in
  v8_types.py that interfered with the next item.

- Don't add includes relating to "invisible" methods. Invisible methods
  are those that come from partial interfaces, and that won't actually
  be implemented in the compilation unit being generated. Adding such
  includes meant that files under bindings/core/ would sometimes include
  headers from bindings/modules/ (without depending on the contents of
  those headers).

BUG=358074

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

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