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

Issue 272323003: Mojo: Implement support for |Foo&| mojom syntax (Closed)

Created:
6 years, 7 months ago by darin (slow to review)
Modified:
6 years, 6 months ago
Reviewers:
DaveMoore, viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: Implement support for |Foo&| mojom syntax BUG=374439 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273717

Patch Set 1 #

Patch Set 2 : Now as InterfaceRequest #

Patch Set 3 : GetPtr -> MakeRequest #

Patch Set 4 : rebase #

Patch Set 5 : GetPtr -> MakeRequest #

Patch Set 6 : MakeRequest -> Get #

Patch Set 7 : more documentation #

Patch Set 8 : wip2 #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : fix mojo_view_manager_unittests crasher #

Patch Set 12 : fix issues #

Patch Set 13 : simplify #

Patch Set 14 : tweak #

Patch Set 15 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -74 lines) Patch
M mojo/aura/context_factory_mojo.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/aura/context_factory_mojo.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/aura/window_tree_host_mojo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -5 lines 0 comments Download
M mojo/cc/context_provider_mojo.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/cc/context_provider_mojo.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -4 lines 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/examples/pepper_container_app/pepper_container_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/interface_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +19 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -5 lines 0 comments Download
A mojo/public/cpp/bindings/interface_request.h View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/router.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/no_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/handle_passing_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +67 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/request_response_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/sample_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_factory.mojom View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_service.mojom View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +13 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_js_generator.py View 1 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/data.py View 1 3 chunks +6 lines, -3 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/generator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 2 chunks +10 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/pack.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/parse/lexer.py View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/parse/parser.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +6 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/parse/translate.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom_tests/parse/lexer_unittest.py View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
darin (slow to review)
[This is not a formal review request.] Here is initial support for our-interfaces using "request" ...
6 years, 7 months ago (2014-05-14 06:59:53 UTC) #1
DaveMoore
There's something that seems really wrong about Bar::GetFoo(InterfaceRequest<Foo> foo); FooPtr foo; bar->GetFoo(GetPtr(&foo)) GetPtr() called on ...
6 years, 7 months ago (2014-05-14 18:05:56 UTC) #2
darin (slow to review)
Yeah... do you have any comments on the other parts of the API? What about ...
6 years, 7 months ago (2014-05-14 20:03:28 UTC) #3
darin (slow to review)
OK, I decided on the following API: Client-side: BarPtr bar; foo->CreateBar(Get(&bar)); Server-side: void FooImpl::CreateBar(InterfaceRequest<Bar> bar) ...
6 years, 7 months ago (2014-05-17 04:28:59 UTC) #4
DaveMoore
On 2014/05/17 04:28:59, darin wrote: > OK, I decided on the following API: > > ...
6 years, 7 months ago (2014-05-19 23:07:58 UTC) #5
darin (slow to review)
Get(...) the thing inside the parenthesis. It reads like a sentence. -Darin On Mon, May ...
6 years, 7 months ago (2014-05-19 23:15:58 UTC) #6
viettrungluu
I'm okay with Get(), so LGTM. I don't think GetRequest() actually makes anything clearer. It ...
6 years, 7 months ago (2014-05-22 23:26:55 UTC) #7
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-22 23:36:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/272323003/160001
6 years, 7 months ago (2014-05-22 23:37:24 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 01:15:24 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 01:19:32 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/30339)
6 years, 7 months ago (2014-05-23 01:19:33 UTC) #12
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-23 03:37:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/272323003/180001
6 years, 7 months ago (2014-05-23 03:38:32 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 07:05:36 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 07:29:28 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/145300)
6 years, 7 months ago (2014-05-23 07:29:29 UTC) #17
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-24 16:45:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/272323003/250042
6 years, 7 months ago (2014-05-24 23:19:48 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-25 01:55:05 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-25 02:00:51 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/77443)
6 years, 7 months ago (2014-05-25 02:00:52 UTC) #22
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 6 months ago (2014-05-29 22:00:08 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/272323003/270001
6 years, 6 months ago (2014-05-29 22:01:55 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 02:44:59 UTC) #25
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 05:22:31 UTC) #26
Message was sent while issue was closed.
Change committed as 273717

Powered by Google App Engine
This is Rietveld 408576698