Commit cf17005c authored by Oksana Zhuravlova's avatar Oksana Zhuravlova Committed by Commit Bot

[mojo][doc] DocumentInterfaceBroker -> BrowserInterfaceBroker

Change-Id: I7ecb680714be3a4459fb49bb8290eec66d5295a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1816447Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699004}
parent fcd2efb8
...@@ -217,13 +217,13 @@ decide how to proceed: ...@@ -217,13 +217,13 @@ decide how to proceed:
- If the message is sent from a renderer to the browser: - If the message is sent from a renderer to the browser:
- If an existing interface is bound by `RenderFrameHostImpl` and - If an existing interface is bound by `RenderFrameHostImpl` and
acquired either via `RenderFrame::GetRemoteInterfaces` or acquired either via `RenderFrame::GetRemoteInterfaces` or
`RenderFrame::GetDocumentInterfaceBroker` and the interface seems `RenderFrame::GetBrowserInterfaceBroker` and the interface seems
to be a good fit for this message, add the equivalent Mojo message to be a good fit for this message, add the equivalent Mojo message
to that interface. to that interface.
- If no such interface exists, consider adding one and exposing it - If no such interface exists, consider adding one and registering it
via a new getter method on `DocumentInterfaceBroker`. See the with `RenderFrameHostImpl`'s `BrowserInterfaceBroker`. See the
[simple example](/docs/mojo_and_services.md#Example_Defining-a-New-Frame-Interface) [simple example](/docs/mojo_and_services.md#Example_Defining-a-New-Frame-Interface)
earlier in this document. in the "Intro to Mojo & Services" document.
- If the message is sent from the browser to a renderer, consider - If the message is sent from the browser to a renderer, consider
adding a Mojo equivalent to the `content.mojom.Frame` interface adding a Mojo equivalent to the `content.mojom.Frame` interface
defined defined
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment