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

Issue 1166123005: Removes ServiceProviders from ViewManager::Embed (Closed)

Created:
5 years, 6 months ago by sky
Modified:
5 years, 6 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes ServiceProviders from ViewManager::Embed We're left with the following: . Embed(ViewManagerClientPtr client) . EmbedAllowingReembed(mojo::URLRequestPtr request): this variant walks the frame tree for the first ancestor marked as an embed root and asks it for the ViewManagerclient to embed. BUG=497855 TEST=covered by tests R=ben@chromium.org Committed: https://crrev.com/4f36e252548209ff1a9d7e2cb7102030091e5bde Cr-Commit-Position: refs/heads/master@{#333660}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 2

Patch Set 3 : use is_headless rather than check for browser. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -630 lines) Patch
M components/html_viewer/html_document.h View 2 chunks +1 line, -5 lines 0 comments Download
M components/html_viewer/html_document.cc View 3 chunks +4 lines, -11 lines 0 comments Download
M components/html_viewer/html_viewer.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M components/html_viewer/setup.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M components/html_viewer/setup.cc View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M components/view_manager/connection_manager.h View 1 chunk +1 line, -3 lines 0 comments Download
M components/view_manager/connection_manager.cc View 2 chunks +8 lines, -24 lines 0 comments Download
M components/view_manager/connection_manager_delegate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/view_manager/public/cpp/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M components/view_manager/public/cpp/lib/view.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M components/view_manager/public/cpp/lib/view_manager_client_impl.h View 3 chunks +4 lines, -10 lines 0 comments Download
M components/view_manager/public/cpp/lib/view_manager_client_impl.cc View 6 chunks +8 lines, -32 lines 0 comments Download
M components/view_manager/public/cpp/lib/view_manager_delegate.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M components/view_manager/public/cpp/view.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/view_manager/public/cpp/view_manager.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/view_manager/public/cpp/view_manager_delegate.h View 3 chunks +6 lines, -6 lines 0 comments Download
M components/view_manager/public/interfaces/view_manager.mojom View 1 5 chunks +19 lines, -41 lines 0 comments Download
M components/view_manager/test_change_tracker.h View 3 chunks +2 lines, -4 lines 0 comments Download
M components/view_manager/test_change_tracker.cc View 2 chunks +5 lines, -8 lines 0 comments Download
M components/view_manager/view_manager_app.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/view_manager/view_manager_app.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M components/view_manager/view_manager_client_apptest.cc View 1 21 chunks +61 lines, -55 lines 0 comments Download
M components/view_manager/view_manager_service_apptest.cc View 18 chunks +86 lines, -37 lines 0 comments Download
M components/view_manager/view_manager_service_impl.h View 5 chunks +7 lines, -35 lines 0 comments Download
M components/view_manager/view_manager_service_impl.cc View 11 chunks +26 lines, -54 lines 0 comments Download
M components/view_manager/view_manager_service_unittest.cc View 7 chunks +14 lines, -23 lines 0 comments Download
M mandoline/tab/BUILD.gn View 2 chunks +4 lines, -3 lines 0 comments Download
M mandoline/tab/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M mandoline/tab/frame_apptest.cc View 1 chunk +1 line, -3 lines 0 comments Download
A mandoline/tab/frame_connection.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
A mandoline/tab/frame_connection.cc View 1 chunk +27 lines, -0 lines 0 comments Download
D mandoline/tab/frame_services.h View 1 chunk +0 lines, -38 lines 0 comments Download
D mandoline/tab/frame_services.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M mandoline/ui/browser/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M mandoline/ui/browser/browser.h View 6 chunks +6 lines, -17 lines 0 comments Download
M mandoline/ui/browser/browser.cc View 1 9 chunks +35 lines, -42 lines 0 comments Download
D mandoline/ui/browser/merged_service_provider.h View 1 chunk +0 lines, -41 lines 0 comments Download
D mandoline/ui/browser/merged_service_provider.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M mandoline/ui/browser/view_embedder.mojom View 1 chunk +1 line, -4 lines 0 comments Download
M mandoline/ui/omnibox/omnibox_impl.h View 1 chunk +1 line, -3 lines 0 comments Download
M mandoline/ui/omnibox/omnibox_impl.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/application/public/cpp/lazy_interface_ptr.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/tools/data/apptests View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
sky
5 years, 6 months ago (2015-06-09 19:26:36 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/1166123005/diff/20001/components/html_viewer/html_viewer.cc File components/html_viewer/html_viewer.cc (right): https://codereview.chromium.org/1166123005/diff/20001/components/html_viewer/html_viewer.cc#newcode169 components/html_viewer/html_viewer.cc:169: connection->GetRemoteApplicationURL() != "mojo://browser/") { oof this feels like a ...
5 years, 6 months ago (2015-06-09 20:27:27 UTC) #2
sky
https://codereview.chromium.org/1166123005/diff/20001/components/html_viewer/html_viewer.cc File components/html_viewer/html_viewer.cc (right): https://codereview.chromium.org/1166123005/diff/20001/components/html_viewer/html_viewer.cc#newcode169 components/html_viewer/html_viewer.cc:169: connection->GetRemoteApplicationURL() != "mojo://browser/") { On 2015/06/09 20:27:27, Ben Goodger ...
5 years, 6 months ago (2015-06-09 21:35:31 UTC) #3
Ben Goodger (Google)
lgtm
5 years, 6 months ago (2015-06-09 22:21:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166123005/40001
5 years, 6 months ago (2015-06-09 22:25:35 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 02:30:49 UTC) #7
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 02:32:03 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4f36e252548209ff1a9d7e2cb7102030091e5bde
Cr-Commit-Position: refs/heads/master@{#333660}

Powered by Google App Engine
This is Rietveld 408576698