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

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed)

Created:
5 years ago by alexfandrianto
Modified:
4 years, 10 months ago
Reviewers:
rudominer, Cutch, azani, zra
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Generate Mojom Types in Dart (Take 2) This CL modifies the Dart generator to produce mojom type information. This includes a test to ensure that the output is expected. The previous CL (located at https://codereview.chromium.org/1433183002/) has been replaced with this one. In order for this to compile, hacks were added to the Dart embedder package builder. This is acceptable because those files are supposed to be removed in the future. All .mojom.dart files were regenerated in this CL. BUG=https://github.com/domokit/mojo/issues/596 R=azani@chromium.org, zra@google.com Committed: https://chromium.googlesource.com/external/mojo/+/a49d2b24078041ffa78e7e8d9c72ffed213f7881

Patch Set 1 #

Patch Set 2 : Address remaining comments from old CL #

Patch Set 3 : Merge with head and rebuild #

Patch Set 4 : Added FullIdentifier and tested with v23proxy #

Patch Set 5 : Update to master and regenerate mojoms #

Total comments: 51

Patch Set 6 : Respond to zra comments. Better templating/spacing/naming #

Patch Set 7 : All Short Names use unsafe GetElementForName #

Total comments: 2

Patch Set 8 : Move and Standardize Mojom Type Functions #

Total comments: 44

Patch Set 9 : Attempt to improve whitespace in templates #

Patch Set 10 : Remove a few more newlines #

Patch Set 11 : Re-run the tests #

Patch Set 12 : Merge with master and try again #

Patch Set 13 : Merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12385 lines, -48 lines) Patch
M mojo/dart/embedder/BUILD.gn View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/dart/embedder/embedder.gni View 1 2 3 4 5 6 1 chunk +11 lines, -6 lines 0 comments Download
M mojo/dart/embedder/tools/dart_embedder_url_mappings.py View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/dart/embedder/tools/dart_list_generated_bindings.py View 1 2 3 4 5 6 3 chunks +19 lines, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart View 1 2 3 4 5 6 7 8 9 14 chunks +361 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart View 1 2 3 4 5 6 7 8 9 8 chunks +173 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import2.mojom.dart View 1 2 3 4 5 6 7 8 9 4 chunks +109 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart View 1 2 3 4 5 6 7 8 9 9 chunks +156 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart View 1 2 3 4 5 6 7 8 9 5 chunks +89 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart View 1 2 3 4 5 6 7 8 9 2 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/serialization_test_structs.mojom.dart View 1 2 3 4 5 6 7 8 9 8 chunks +164 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_included_unions.mojom.dart View 1 2 3 4 5 6 7 8 9 2 chunks +34 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart View 1 2 3 4 5 6 7 8 9 34 chunks +1766 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart View 1 2 3 4 5 6 7 8 9 27 chunks +876 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart View 1 2 3 4 5 6 7 8 9 46 chunks +1137 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart View 1 2 3 4 5 6 7 8 9 13 chunks +277 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart View 1 2 3 4 5 6 7 8 9 41 chunks +791 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart View 1 2 3 4 5 6 7 8 9 20 chunks +414 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart View 1 2 3 4 5 6 7 8 9 25 chunks +490 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart View 1 2 3 4 5 6 7 8 9 17 chunks +667 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart View 1 2 3 4 5 6 7 8 9 7 chunks +136 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart View 1 2 3 4 5 6 7 8 9 15 chunks +273 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/application.dart View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/bindings.dart View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +26 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_types.mojom.dart View 1 2 3 4 5 6 7 8 32 chunks +70 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart View 1 2 3 4 5 6 7 8 12 chunks +50 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/http_header.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +16 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/network_error.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/service_provider.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/proxy.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/stub.dart View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart View 1 2 3 4 5 6 7 8 31 chunks +104 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/authentication/authentication.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +30 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/contacts/contacts.mojom.dart View 1 2 3 4 5 6 7 8 12 chunks +38 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server_factory.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/input/input.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart View 1 2 3 4 5 6 7 8 28 chunks +92 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/asset_bundle/asset_bundle.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +52 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/clipboard.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +38 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart View 1 2 3 4 5 6 7 8 25 chunks +98 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/context_provider.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/device_info.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/directory.mojom.dart View 1 2 3 4 5 6 7 8 18 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/file.mojom.dart View 1 2 3 4 5 6 7 8 32 chunks +76 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl_terminal.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/types.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart View 1 2 3 4 5 6 7 8 14 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +18 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/compositor.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +26 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/nodes.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/renderers.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/resources.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scene_token.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scenes.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +52 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scheduling.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +26 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/host_resolver.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +52 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_message.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_event_constants.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +20 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_events.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location_service.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/audio_server.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/audio_track.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +32 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_clock.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_common.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_factory.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +26 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_pipe.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_player.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +30 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_sink.mojom.dart View 1 2 3 4 5 6 7 8 14 chunks +40 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_source.mojom.dart View 1 2 3 4 5 6 7 8 18 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart View 1 2 3 4 5 6 7 8 19 chunks +76 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_types.mojom.dart View 1 2 3 4 5 6 7 8 21 chunks +56 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart View 1 2 3 4 5 6 7 8 14 chunks +40 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart View 1 2 3 4 5 6 7 8 20 chunks +64 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +30 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +14 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/network_service.mojom.dart View 1 2 3 4 5 6 7 8 16 chunks +44 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart View 1 2 3 4 5 6 7 8 20 chunks +46 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/service_registry.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surface_id.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surfaces.mojom.dart View 1 2 3 4 5 6 7 8 21 chunks +66 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_bound_socket.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_connected_socket.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_server_socket.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +36 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal_client.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart View 1 2 3 4 5 6 7 8 22 chunks +68 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/input_connection.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +42 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/input_dispatcher.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +12 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +46 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 17 chunks +58 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/views.mojom.dart View 1 2 3 4 5 6 7 8 9 10 11 18 chunks +60 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader.mojom.dart View 1 2 3 4 5 6 7 8 10 chunks +34 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader_interceptor.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +52 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_response_disk_cache.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +36 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/viewport_parameter_listener.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/web_socket.mojom.dart View 1 2 3 4 5 6 7 8 16 chunks +58 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +52 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart View 1 2 3 4 5 6 7 8 14 chunks +66 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +64 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +28 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/sensors/sensors.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/speech_recognizer/speech_recognizer.mojom.dart View 1 2 3 4 5 6 7 8 10 chunks +34 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart View 1 2 3 4 5 6 7 8 12 chunks +62 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/vsync/vsync.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojom/lib/src/generate.dart View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -2 lines 0 comments Download
M mojo/dart/unittests/embedder_tests/bindings_generation_test.dart View 1 2 3 4 5 6 4 chunks +323 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/enum_definition.tmpl View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl View 1 2 3 4 5 6 7 8 9 3 chunks +30 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -3 lines 0 comments Download
A mojo/public/tools/bindings/generators/dart_templates/mojom_reference_macros.tmpl View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
A mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl View 1 2 3 4 5 6 7 8 1 chunk +182 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_dart_generator.py View 1 2 3 4 5 6 7 8 8 chunks +92 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/mojom_go_generator.py View 1 2 3 4 5 6 7 4 chunks +2 lines, -28 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 2 3 4 5 6 7 3 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (3 generated)
alexfandrianto
On 2015/12/18 01:42:54, alexfandrianto wrote: > mailto:alexfandrianto@google.com changed reviewers: > + mailto:azani@chromium.org, mailto:johnmccutchan@google.com, mailto:rudominer@chromium.org, > ...
5 years ago (2015-12-18 02:10:38 UTC) #3
alexfandrianto
On 2015/12/18 02:10:38, alexfandrianto wrote: > On 2015/12/18 01:42:54, alexfandrianto wrote: > > mailto:alexfandrianto@google.com changed ...
5 years ago (2015-12-18 23:14:54 UTC) #4
azani
Hey Alex, Are you waiting for us on this or are you still working on ...
4 years, 11 months ago (2016-01-12 19:07:22 UTC) #5
alexfandrianto
On 2016/01/12 19:07:22, azani wrote: > Hey Alex, > > Are you waiting for us ...
4 years, 11 months ago (2016-01-12 19:24:58 UTC) #6
alexfandrianto
On 2016/01/12 19:24:58, alexfandrianto wrote: > On 2016/01/12 19:07:22, azani wrote: > > Hey Alex, ...
4 years, 11 months ago (2016-01-15 18:16:29 UTC) #7
zra
Sorry if you've already answered some of these questions for me before. I haven't looked ...
4 years, 11 months ago (2016-01-15 21:01:34 UTC) #8
alexfandrianto
Thanks, zra. I'll take a look. (Writing your comments in one of the *.mojom.dart files ...
4 years, 11 months ago (2016-01-15 23:05:57 UTC) #9
azani
https://codereview.chromium.org/1539673003/diff/40001/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart File mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart (right): https://codereview.chromium.org/1539673003/diff/40001/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart#newcode705 mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart:705: )), On 2016/01/15 21:01:33, zra wrote: > Indentation problem. ...
4 years, 11 months ago (2016-01-15 23:21:57 UTC) #10
zra
https://codereview.chromium.org/1539673003/diff/40001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl File mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl (right): https://codereview.chromium.org/1539673003/diff/40001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl#newcode29 mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl:29: ..declData = (new {{typepkg}}DeclarationData()..shortName = '{{method|name|upper_camel}}') So, method|name can ...
4 years, 11 months ago (2016-01-15 23:33:17 UTC) #11
alexfandrianto
https://codereview.chromium.org/1539673003/diff/40001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl File mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl (right): https://codereview.chromium.org/1539673003/diff/40001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl#newcode29 mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl:29: ..declData = (new {{typepkg}}DeclarationData()..shortName = '{{method|name|upper_camel}}') On 2016/01/15 23:33:17, ...
4 years, 11 months ago (2016-01-15 23:49:00 UTC) #12
zra
On 2016/01/15 23:49:00, alexfandrianto wrote: > If name-mangling is needed, I would expect both the ...
4 years, 11 months ago (2016-01-19 18:09:47 UTC) #13
alexfandrianto
Responded to comments (excluding how to handle method|name). Will need to think about that one ...
4 years, 11 months ago (2016-01-20 00:08:29 UTC) #14
alexfandrianto
PTAL. In addition to my comments from before, I've added name_unsafe as a filter [used ...
4 years, 11 months ago (2016-01-25 20:17:59 UTC) #15
azani
https://codereview.chromium.org/1539673003/diff/60001/mojo/public/tools/bindings/generators/mojom_dart_generator.py File mojo/public/tools/bindings/generators/mojom_dart_generator.py (right): https://codereview.chromium.org/1539673003/diff/60001/mojo/public/tools/bindings/generators/mojom_dart_generator.py#newcode490 mojo/public/tools/bindings/generators/mojom_dart_generator.py:490: # Returns a string of the form package.path.TypeName - ...
4 years, 11 months ago (2016-01-26 00:29:23 UTC) #16
alexfandrianto
On 2016/01/26 00:29:23, azani wrote: > https://codereview.chromium.org/1539673003/diff/60001/mojo/public/tools/bindings/generators/mojom_dart_generator.py > File mojo/public/tools/bindings/generators/mojom_dart_generator.py (right): > > https://codereview.chromium.org/1539673003/diff/60001/mojo/public/tools/bindings/generators/mojom_dart_generator.py#newcode490 > ...
4 years, 11 months ago (2016-01-26 02:17:52 UTC) #17
alexfandrianto
On 2016/01/26 02:17:52, alexfandrianto wrote: > On 2016/01/26 00:29:23, azani wrote: > > > https://codereview.chromium.org/1539673003/diff/60001/mojo/public/tools/bindings/generators/mojom_dart_generator.py ...
4 years, 11 months ago (2016-01-26 18:46:30 UTC) #18
zra
https://codereview.chromium.org/1539673003/diff/40001/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart File mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart (right): https://codereview.chromium.org/1539673003/diff/40001/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart#newcode234 mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart:234: } On 2016/01/20 00:08:28, alexfandrianto wrote: > On 2016/01/15 ...
4 years, 10 months ago (2016-01-27 18:15:12 UTC) #19
alexfandrianto
The templates are now producing a lot better-formatted code. Still need to talk to Cutch ...
4 years, 10 months ago (2016-01-28 03:45:13 UTC) #20
zra
This looks much better, thanks! lgtm but please wait for comments from other reviewers and ...
4 years, 10 months ago (2016-01-28 19:19:21 UTC) #21
alexfandrianto
On 2016/01/28 19:19:21, zra wrote: > This looks much better, thanks! > > lgtm but ...
4 years, 10 months ago (2016-01-28 23:43:45 UTC) #22
azani
lgtm
4 years, 10 months ago (2016-01-29 18:35:42 UTC) #23
alexfandrianto
4 years, 10 months ago (2016-01-29 20:59:11 UTC) #25
Message was sent while issue was closed.
Committed patchset #13 (id:170001) manually as
a49d2b24078041ffa78e7e8d9c72ffed213f7881 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698