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

Issue 905083002: Adds Embed() variant to ViewManagerService that takes ViewManagerClient (Closed)

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

Description

Adds Embed() variant to ViewManagerService that takes ViewManagerClient This is for situations where an app wants to directly supply the ViewManagerClient implementation. R=msw@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/3b05b0b541233b90d2810b8a1969ddd459ff51c4

Patch Set 1 #

Patch Set 2 : EmbedUrl #

Total comments: 5

Patch Set 3 : comments #

Patch Set 4 : real comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -51 lines) Patch
M mojo/services/view_manager/public/cpp/lib/view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.cc View 1 1 chunk +7 lines, -2 lines 0 comments Download
M mojo/services/view_manager/public/cpp/view.h View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/view_manager/public/interfaces/view_manager.mojom View 1 2 chunks +15 lines, -8 lines 1 comment Download
M services/view_manager/connection_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M services/view_manager/connection_manager.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M services/view_manager/connection_manager_delegate.h View 1 chunk +7 lines, -0 lines 0 comments Download
M services/view_manager/view_manager_app.h View 1 chunk +7 lines, -0 lines 0 comments Download
M services/view_manager/view_manager_app.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M services/view_manager/view_manager_service_apptest.cc View 1 2 3 4 chunks +29 lines, -4 lines 0 comments Download
M services/view_manager/view_manager_service_impl.h View 1 4 chunks +16 lines, -8 lines 0 comments Download
M services/view_manager/view_manager_service_impl.cc View 1 3 chunks +48 lines, -26 lines 0 comments Download
M services/view_manager/view_manager_service_unittest.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
sky
5 years, 10 months ago (2015-02-07 19:50:58 UTC) #1
msw
lgtm with nits. https://codereview.chromium.org/905083002/diff/20001/services/view_manager/view_manager_service_apptest.cc File services/view_manager/view_manager_service_apptest.cc (right): https://codereview.chromium.org/905083002/diff/20001/services/view_manager/view_manager_service_apptest.cc#newcode83 services/view_manager/view_manager_service_apptest.cc:83: bool Embed(ViewManagerService* vm, Id root_id) { ...
5 years, 10 months ago (2015-02-09 19:44:13 UTC) #2
sky
Committed patchset #4 (id:60001) manually as 3b05b0b541233b90d2810b8a1969ddd459ff51c4 (presubmit successful).
5 years, 10 months ago (2015-02-09 20:25:35 UTC) #4
hansmuller1
https://codereview.chromium.org/905083002/diff/60001/mojo/services/view_manager/public/interfaces/view_manager.mojom File mojo/services/view_manager/public/interfaces/view_manager.mojom (right): https://codereview.chromium.org/905083002/diff/60001/mojo/services/view_manager/public/interfaces/view_manager.mojom#newcode116 mojo/services/view_manager/public/interfaces/view_manager.mojom:116: // |view_id|. The call fails if the originating connection ...
5 years, 10 months ago (2015-02-09 20:46:44 UTC) #6
sky
5 years, 10 months ago (2015-02-10 00:12:59 UTC) #7
Message was sent while issue was closed.
Just noticed I forgot to push these. Patch already landed.

https://codereview.chromium.org/905083002/diff/20001/services/view_manager/vi...
File services/view_manager/view_manager_service_apptest.cc (right):

https://codereview.chromium.org/905083002/diff/20001/services/view_manager/vi...
services/view_manager/view_manager_service_apptest.cc:83: bool
Embed(ViewManagerService* vm, Id root_id) {
On 2015/02/09 19:44:13, msw wrote:
> nit: rename EmbedUrl to avoid overloading the new Embed below?

Done.

https://codereview.chromium.org/905083002/diff/20001/services/view_manager/vi...
services/view_manager/view_manager_service_apptest.cc:1468: // Create 1 and 2 in
the first connection and parent both to the root.
On 2015/02/09 19:44:12, msw wrote:
> nit: This doesn't seem to create or add |2|, just |1|. (ditto above)

I nuked the comment (here and above). It wasn't really helpful.

Powered by Google App Engine
This is Rietveld 408576698