Yeah we should rename all the enums in blink to kCamelCase style. The code generator should handle any fancy mappings.
The enum problem bit me yesterday, trying to add a new SHOUTY_CASE IDL constant. Blink style checks really don't like that. Perhaps if I have some time on a flight to Munich tomorrow I'll take a look at renaming them.
I do think the original issue is solvable with the ImplementedAs IDL attribute, though. I had to do the same thing with the 'register' method on SyncManager: (https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/background_sync/SyncManager.idl)
--
You received this message because you are subscribed to the Google Groups "platform-architecture-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architect...@chromium.org.
To post to this group, send email to platform-arc...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAO9Q3i%2BfAF-_gyU6sJXQ39fjhtqQUaM57GZ%2BcUWfLvCfT4ZuTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAO9Q3i%2BY%2BcCNWrzDuAf5Ped%2BD4W-5zxAAXVSa10s57-LqBtvMA%40mail.gmail.com.
Can you share your patch? I'm not sure I follow what you're doing here. :)
Ah! I tried using
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architecture-dev+unsub...@chromium.org.
To post to this group, send email to platform-architecture-dev@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAO9Q3i%2BfAF-_gyU6sJXQ39fjhtqQUaM57GZ%2BcUWfLvCfT4ZuTQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "platform-architecture-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architecture-dev+unsub...@chromium.org.
To post to this group, send email to platform-architecture-dev@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAO9Q3i%2BY%2BcCNWrzDuAf5Ped%2BD4W-5zxAAXVSa10s57-LqBtvMA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan