commit | f4357cacb5dc82d7016c2952d5075396b19eb4ef | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@chromium.org> | Thu Sep 07 01:43:32 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 07 01:43:32 2017 |
tree | 11c1bd8b9560e90a7f98f95e402bd0a140ec416d | |
parent | 181e550939bc6fd54504fb8a6794df1a9ac94432 [diff] |
WebContents and WebContentsObserver should not provide IPC::Sender API. With the introduction of OOPIFs, WebContents can span multiple processes - there is no default process to send IPC messages to. Removing the WebContents::Send and WebContentsObserver::Send methods forces the callers to explicitly specify the target of the message. This helps avoid situations where an IPC message is sent via RenderViewHost (i.e. to the process hosting the main frame) when it should have been send to a process hosting a specific frame (this CL fixes a few such cases). Bug: 663029 Change-Id: I16980f5ef05a8ac7da365edf7a92ce46677a8c0c Reviewed-on: https://chromium-review.googlesource.com/630416 Reviewed-by: Gene Gutnik <gene@chromium.org> Reviewed-by: Selim Gurun <sgurun@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Reviewed-by: Lucas Gadani <lfg@chromium.org> Reviewed-by: Alex Clarke <alexclarke@chromium.org> Reviewed-by: Nick Carter <nick@chromium.org> Commit-Queue: Ćukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#500170}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .