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

Issue 433513005: Pass ServiceProvider thru ViewManagerService::Embed() allowing embedder & embeddee to expose servic… (Closed)

Created:
6 years, 4 months ago by Ben Goodger (Google)
Modified:
6 years, 4 months ago
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
Project:
chromium
Visibility:
Public.

Description

Pass ServiceProvider thru ViewManagerService::Embed() allowing embedder & embeddee to expose services to each other alongside the Embed action. R=darin@chromium.org,sky@chromium.org BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288148

Patch Set 1 #

Total comments: 10

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+647 lines, -139 lines) Patch
M mojo/examples/aura_demo/aura_demo.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/aura_demo/view_manager_init.cc View 2 chunks +3 lines, -1 line 0 comments Download
M mojo/examples/browser/browser.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/demo_launcher/demo_launcher.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M mojo/examples/embedded_app/embedded_app.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/keyboard/keyboard.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/media_viewer/media_viewer.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/nesting_app/nesting_app.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/png_viewer/png_viewer.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/window_manager/window_manager.cc View 1 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/examples/wm_flow/app/app.cc View 1 4 chunks +53 lines, -6 lines 0 comments Download
A + mojo/examples/wm_flow/app/embedder.mojom View 1 chunk +3 lines, -3 lines 0 comments Download
A + mojo/examples/wm_flow/embedded/embedded.cc View 1 4 chunks +43 lines, -23 lines 0 comments Download
A + mojo/examples/wm_flow/embedded/embeddee.mojom View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/examples/wm_flow/init/init.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M mojo/examples/wm_flow/wm/wm.cc View 1 3 chunks +17 lines, -4 lines 0 comments Download
M mojo/mojo.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 chunks +48 lines, -0 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/lib/service_provider_impl.cc View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/lib/weak_service_provider.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/lib/weak_service_provider.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/service_provider_impl.h View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/services/public/cpp/view_manager/lib/node.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h View 3 chunks +8 lines, -3 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc View 1 8 chunks +39 lines, -23 lines 0 comments Download
M mojo/services/public/cpp/view_manager/node.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc View 1 4 chunks +9 lines, -7 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_manager_delegate.h View 1 2 3 2 chunks +14 lines, -1 line 0 comments Download
M mojo/services/public/cpp/view_manager/window_manager_delegate.h View 2 chunks +3 lines, -1 line 0 comments Download
M mojo/services/public/interfaces/view_manager/view_manager.mojom View 1 5 chunks +19 lines, -4 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.h View 2 chunks +9 lines, -5 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.cc View 3 chunks +21 lines, -12 lines 0 comments Download
M mojo/services/view_manager/view_manager_init_service_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_init_service_impl.cc View 2 chunks +4 lines, -1 line 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.h View 4 chunks +7 lines, -2 lines 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.cc View 6 chunks +26 lines, -13 lines 0 comments Download
M mojo/services/view_manager/view_manager_unittest.cc View 5 chunks +14 lines, -7 lines 0 comments Download
M mojo/services/window_manager/window_manager_api_unittest.cc View 1 3 chunks +10 lines, -2 lines 0 comments Download
M mojo/services/window_manager/window_manager_app.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M mojo/services/window_manager/window_manager_app.cc View 1 4 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Ben Goodger (Google)
darin: core bits in: - mojo/examples/wm_flow/* - mojo/services/public/cpp/view_manager - mojo/services/view_manager sky: all
6 years, 4 months ago (2014-07-31 20:31:01 UTC) #1
Ben Goodger (Google)
On 2014/07/31 20:31:01, Ben Goodger (Google) wrote: > darin: core bits in: > > - ...
6 years, 4 months ago (2014-07-31 20:31:51 UTC) #2
sky
LGTM https://codereview.chromium.org/433513005/diff/1/mojo/examples/wm_flow/app/app.cc File mojo/examples/wm_flow/app/app.cc (right): https://codereview.chromium.org/433513005/diff/1/mojo/examples/wm_flow/app/app.cc#newcode64 mojo/examples/wm_flow/app/app.cc:64: //init_svc->Embed("mojo:mojo_wm_flow_app", base::Bind(&ConnectCallback)); nit: remove early attempts. https://codereview.chromium.org/433513005/diff/1/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc File ...
6 years, 4 months ago (2014-07-31 21:14:11 UTC) #3
Ben Goodger (Google)
+davemoore for service providery stuff too.
6 years, 4 months ago (2014-08-06 18:25:51 UTC) #4
DaveMoore
lgtm https://codereview.chromium.org/433513005/diff/1/mojo/public/cpp/application/exported_service_registry.h File mojo/public/cpp/application/exported_service_registry.h (right): https://codereview.chromium.org/433513005/diff/1/mojo/public/cpp/application/exported_service_registry.h#newcode15 mojo/public/cpp/application/exported_service_registry.h:15: Nit: Please provide a comment. On quick inspection ...
6 years, 4 months ago (2014-08-06 21:34:59 UTC) #5
darin (slow to review)
some thoughts on the class design: https://codereview.chromium.org/433513005/diff/1/mojo/public/cpp/application/exported_service_registry.h File mojo/public/cpp/application/exported_service_registry.h (right): https://codereview.chromium.org/433513005/diff/1/mojo/public/cpp/application/exported_service_registry.h#newcode16 mojo/public/cpp/application/exported_service_registry.h:16: class RemoteServiceProvider : ...
6 years, 4 months ago (2014-08-06 22:13:29 UTC) #6
darin (slow to review)
LGTM https://codereview.chromium.org/433513005/diff/40001/mojo/public/cpp/application/lib/remote_service_provider.h File mojo/public/cpp/application/lib/remote_service_provider.h (right): https://codereview.chromium.org/433513005/diff/40001/mojo/public/cpp/application/lib/remote_service_provider.h#newcode18 mojo/public/cpp/application/lib/remote_service_provider.h:18: class RemoteServiceProvider : public ServiceProvider { nit: I ...
6 years, 4 months ago (2014-08-07 16:53:04 UTC) #7
Ben Goodger (Google)
The CQ bit was checked by ben@chromium.org
6 years, 4 months ago (2014-08-07 17:57:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ben@chromium.org/433513005/60001
6 years, 4 months ago (2014-08-07 18:09:26 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 22:02:07 UTC) #10
Message was sent while issue was closed.
Change committed as 288148

Powered by Google App Engine
This is Rietveld 408576698