IDL: traverse enums and implements

Definitions can have enums and implements. It would be better to make
Visitor handle them so that a concrete class of Visitor can process
enums and implements in a consistent way.

Review-Url: https://codereview.chromium.org/2130223002
Cr-Commit-Position: refs/heads/master@{#404318}
1 file changed