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

Issue 2556353004: Mojo JS bindings: code generator maps interface ptr and request to InterfacePtr and InterfaceReques… (Closed)

Created:
4 years ago by yzshen1
Modified:
4 years ago
CC:
Aaron Boodman, abarth-chromium, arv+watch_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo JS bindings: code generator maps interface ptr and request to InterfacePtr and InterfaceRequest. BUG=579646 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/5749f7cbdd6f9cb4915925f1418ef1772ec0168f Cr-Commit-Position: refs/heads/master@{#438037}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -233 lines) Patch
M chrome/browser/resources/bluetooth_internals/adapter_broker.js View 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/interfaces.js View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/omnibox/omnibox.js View 1 2 3 4 2 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/resources/plugins.js View 1 2 3 4 1 chunk +9 lines, -11 lines 0 comments Download
M chrome/test/data/webui/bluetooth_internals_browsertest.js View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/content_resources.grd View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/mojo_context_state.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/resources/media_router_bindings.js View 1 2 3 4 5 3 chunks +9 lines, -20 lines 0 comments Download
M ios/web/ios_web_resources.grd View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/test/data/mojo_test.js View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M ios/web/webui/crw_web_ui_manager.mm View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/edk/js/tests/connection_tests.js View 6 chunks +28 lines, -50 lines 0 comments Download
M mojo/edk/js/tests/sample_service_tests.js View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/js/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/js/bindings.js View 1 2 3 4 5 5 chunks +17 lines, -30 lines 0 comments Download
M mojo/public/js/codec.js View 3 chunks +41 lines, -17 lines 0 comments Download
M mojo/public/js/constants.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/js/constants.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A mojo/public/js/interface_types.js View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M mojo/public/js/validator.js View 6 chunks +28 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/js_templates/validation_macros.tmpl View 2 chunks +8 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_js_generator.py View 9 chunks +13 lines, -53 lines 2 comments Download
M third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js View 1 2 3 4 3 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js View 1 2 3 4 5 6 7 1 chunk +8 lines, -7 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (38 generated)
yzshen1
Hi, reviewers. Would you please take a look? This CL doesn't switch all usage of ...
4 years ago (2016-12-12 22:30:43 UTC) #31
Eugene But (OOO till 7-30)
ios lgtm
4 years ago (2016-12-12 22:35:32 UTC) #34
yzshen1
https://codereview.chromium.org/2556353004/diff/140001/mojo/public/tools/bindings/generators/mojom_js_generator.py File mojo/public/tools/bindings/generators/mojom_js_generator.py (right): https://codereview.chromium.org/2556353004/diff/140001/mojo/public/tools/bindings/generators/mojom_js_generator.py#newcode66 mojo/public/tools/bindings/generators/mojom_js_generator.py:66: return "new %sPtr()" % JavaScriptType(field.kind) Because FooPtr and InterfaceRequest ...
4 years ago (2016-12-12 22:39:49 UTC) #35
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2556353004/diff/140001/mojo/public/tools/bindings/generators/mojom_js_generator.py File mojo/public/tools/bindings/generators/mojom_js_generator.py (right): https://codereview.chromium.org/2556353004/diff/140001/mojo/public/tools/bindings/generators/mojom_js_generator.py#newcode66 mojo/public/tools/bindings/generators/mojom_js_generator.py:66: return "new %sPtr()" % JavaScriptType(field.kind) On 2016/12/12 at ...
4 years ago (2016-12-12 23:48:07 UTC) #36
jam
rubberstamp lgtm
4 years ago (2016-12-13 01:40:02 UTC) #39
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/2556353004/140001
4 years ago (2016-12-13 02:08:39 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-13 03:43:18 UTC) #44
commit-bot: I haz the power
4 years ago (2016-12-13 03:46:31 UTC) #46
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5749f7cbdd6f9cb4915925f1418ef1772ec0168f
Cr-Commit-Position: refs/heads/master@{#438037}

Powered by Google App Engine
This is Rietveld 408576698