Chromium Code Reviews
DescriptionMove logics of preparePrototypeAndInterfaceObject from .tmpl to .py
Before this CL, we checked if an (partial) interface needed
preparePrototypeAndInterfaceObject() method and set two variables ("has_foobar"
and "foobar_func") in places of template files.
The condition is not so simple and we could easily introduce bugs if we had updates
around them.
This CL unifies all those template variables into one, and move the logical
part into python file.
BUG=650150
Review-Url: https://codereview.chromium.org/2717283002
Cr-Commit-Position: refs/heads/master@{#453176}
Committed: https://chromium.googlesource.com/chromium/src/+/5f2babfc8b63a2c91e656a5ac79b03bcc0f21377
Patch Set 1 #Messages
Total messages: 15 (9 generated)
|