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

Issue 99623010: Add support for enums within structs and interfaces to mojom. (Closed)

Created:
7 years ago by Matt Perry
Modified:
6 years, 11 months ago
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Add support for enums within structs and interfaces to mojom. BUG=320090 R=abarth@chromium.org, davemoore@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243341

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -50 lines) Patch
A mojo/public/bindings/generators/cpp_templates/enum_declaration.tmpl View 1 chunk +9 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 chunk +8 lines, -1 line 0 comments Download
M mojo/public/bindings/generators/cpp_templates/module.h.tmpl View 1 chunk +6 lines, -15 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/struct_declaration.tmpl View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl View 1 chunk +3 lines, -0 lines 0 comments Download
A mojo/public/bindings/generators/js_templates/enum_definition.tmpl View 1 chunk +12 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/js_templates/interface_definition.tmpl View 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/js_templates/module.js.tmpl View 1 chunk +4 lines, -12 lines 0 comments Download
M mojo/public/bindings/generators/js_templates/struct_definition.tmpl View 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/mojom_data.py View 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/public/bindings/parse/mojo_parser.py View 1 2 chunks +10 lines, -8 lines 0 comments Download
M mojo/public/bindings/parse/mojo_translate.py View 1 3 chunks +19 lines, -6 lines 0 comments Download
M mojo/public/bindings/sample/sample_service.mojom View 1 1 chunk +5 lines, -1 line 0 comments Download
M mojo/public/bindings/sample/sample_service_unittests.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/bindings/sample/sample_service_unittests.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Matt Perry
abarth: js_templates/*, *.js davemoore: everything else I wasn't sure whether to put interface enums in ...
7 years ago (2013-12-19 23:20:40 UTC) #1
DaveMoore
cpp: lgtm https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/sample/sample_service_unittests.cc File mojo/public/bindings/sample/sample_service_unittests.cc (right): https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/sample/sample_service_unittests.cc#newcode212 mojo/public/bindings/sample/sample_service_unittests.cc:212: virtual void Frobinate(const Foo& foo, int32_t baz, ...
7 years ago (2013-12-20 02:53:18 UTC) #2
abarth-chromium
lgtm https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/generators/js_templates/interface_definition.tmpl File mojo/public/bindings/generators/js_templates/interface_definition.tmpl (right): https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/generators/js_templates/interface_definition.tmpl#newcode52 mojo/public/bindings/generators/js_templates/interface_definition.tmpl:52: {{interface.name}}Stub.{{enum.name}} = {{interface.name}}Proxy.{{enum.name}}; Do we want these to ...
7 years ago (2013-12-20 04:40:23 UTC) #3
darin (slow to review)
On 2013/12/20 02:53:18, DaveMoore wrote: > cpp: lgtm > > https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/sample/sample_service_unittests.cc > File mojo/public/bindings/sample/sample_service_unittests.cc (right): ...
7 years ago (2013-12-20 05:12:44 UTC) #4
darin (slow to review)
On 2013/12/20 05:12:44, darin wrote: ... > https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/sample/sample_service_unittests.cc#newcode212 > > mojo/public/bindings/sample/sample_service_unittests.cc:212: virtual void > > ...
7 years ago (2013-12-20 05:13:35 UTC) #5
Matt Perry
https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/generators/js_templates/interface_definition.tmpl File mojo/public/bindings/generators/js_templates/interface_definition.tmpl (right): https://codereview.chromium.org/99623010/diff/1/mojo/public/bindings/generators/js_templates/interface_definition.tmpl#newcode52 mojo/public/bindings/generators/js_templates/interface_definition.tmpl:52: {{interface.name}}Stub.{{enum.name}} = {{interface.name}}Proxy.{{enum.name}}; On 2013/12/20 04:40:24, abarth wrote: > ...
6 years, 11 months ago (2014-01-06 19:55:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpcomplete@chromium.org/99623010/110001
6 years, 11 months ago (2014-01-06 20:12:17 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=43391
6 years, 11 months ago (2014-01-06 20:34:58 UTC) #8
Matt Perry
6 years, 11 months ago (2014-01-07 18:46:39 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r243341 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698