Summary: | Web Inspector: CodeGeneratorInspector.py: use generated types in method parameters | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Peter Rybin <peter.rybin> | ||||||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, peter.rybin, pfeldman, pmuellr, rik, timothy, yurys | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
Bug Depends on: | 72861 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
Description
Peter Rybin
2011-12-15 16:04:42 PST
Created attachment 119514 [details]
Patch
Created attachment 119516 [details]
Patch
Created attachment 119661 [details]
Sample of InspectorFrontend.h with new types annotated in comments for events.
Comment on attachment 119516 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=119516&action=review > Source/WebCore/inspector/CodeGeneratorInspector.py:665 > + output.append(" };\n\n") wrong indent. > Source/WebCore/inspector/CodeGeneratorInspector.py:1510 > + parameter_list.append("/*%s*/ %s %s" % (param_type_binding.get_in_c_type_text(json_optional), c_type.get_text(), parameter_name)) I'd like to see the suggested types in the comment section only if they differ from the current one. (In reply to comment #4) > (From update of attachment 119516 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=119516&action=review > > > Source/WebCore/inspector/CodeGeneratorInspector.py:665 > > + output.append(" };\n\n") > > wrong indent. Done > > > Source/WebCore/inspector/CodeGeneratorInspector.py:1510 > > + parameter_list.append("/*%s*/ %s %s" % (param_type_binding.get_in_c_type_text(json_optional), c_type.get_text(), parameter_name)) > > I'd like to see the suggested types in the comment section only if they differ from the current one. Done Created attachment 119727 [details]
Patch
Created attachment 119728 [details]
Sample of InspectorFrontend.h with new types annotated in comments for events.
Comment on attachment 119727 [details]
Patch
lgtm
Comment on attachment 119727 [details] Patch Clearing flags on attachment: 119727 Committed r103173: <http://trac.webkit.org/changeset/103173> All reviewed patches have been landed. Closing bug. |