Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Issue 2684773003: [WebAgent API]: Implement name style handling. (Closed)

Created:
3 years, 10 months ago by dglazkov
Modified:
3 years, 10 months ago
Reviewers:
haraken, bashi, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebAgent API]: Implement name style handling. Since IDL names need to be represented in multiple different styles, provide a single utility class for handling conversion, called NameStyleConverter. Start using this new utility class in templates. R=bashi,yukishiino,haraken BUG=683742 Review-Url: https://codereview.chromium.org/2684773003 Cr-Commit-Position: refs/heads/master@{#449291} Committed: https://chromium.googlesource.com/chromium/src/+/e1eefe5f5757cf1c2c58f7bbdf0d4d2ea8031574

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Fixed the deps. #

Total comments: 15

Patch Set 4 : Feedback addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -125 lines) Patch
M third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py View 1 2 3 4 chunks +13 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
A third_party/WebKit/Source/bindings/scripts/name_style_converer_test.py View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/scripts/name_style_converter.py View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/templates.gni View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/bindings/templates/web_module_interface.cpp.tmpl View 1 chunk +0 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/web_module_interface.h.tmpl View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.h View 1 chunk +0 lines, -26 lines 0 comments Download
D third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp View 1 1 chunk +0 lines, -32 lines 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
dglazkov
Rebased.
3 years, 10 months ago (2017-02-08 20:59:55 UTC) #5
dglazkov
Fixed the deps.
3 years, 10 months ago (2017-02-08 21:20:59 UTC) #10
dglazkov
PTAL.
3 years, 10 months ago (2017-02-08 23:56:14 UTC) #16
bashi
This is great idea! https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py File third_party/WebKit/Source/bindings/scripts/name_style_converter.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py#newcode9 third_party/WebKit/Source/bindings/scripts/name_style_converter.py:9: SPECIAL_PREFIXES = [ Probably we ...
3 years, 10 months ago (2017-02-09 00:15:07 UTC) #17
haraken
LGTM https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py#newcode164 third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:164: self.generate_file(template_context, 'cc') Is it intentional that you use ...
3 years, 10 months ago (2017-02-09 01:00:11 UTC) #18
dglazkov
Feedback addressed.
3 years, 10 months ago (2017-02-09 04:11:34 UTC) #19
dglazkov
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py#newcode164 third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:164: self.generate_file(template_context, 'cc') On 2017/02/09 at 01:00:11, haraken wrote: > ...
3 years, 10 months ago (2017-02-09 04:15:29 UTC) #22
bashi
lgtm https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py File third_party/WebKit/Source/bindings/scripts/name_style_converter.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py#newcode9 third_party/WebKit/Source/bindings/scripts/name_style_converter.py:9: SPECIAL_PREFIXES = [ On 2017/02/09 04:15:29, dglazkov wrote: ...
3 years, 10 months ago (2017-02-09 04:20:45 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2684773003/60001
3 years, 10 months ago (2017-02-09 15:06:50 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 15:12:03 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e1eefe5f5757cf1c2c58f7bbdf0d...

Powered by Google App Engine
This is Rietveld 408576698