This CL avoids sending |page_url| and |frame_url| as a payload of
FrameHostMsg_ContextMenu. The CL accomplishes this by splitting
the old ContextMenuParams struct into:
1. UntrustworthyContextMenuParams:
- Sent over IPC.
- Doesn't include |frame_url| nor |page_url|.
2. ContextMenuParams:
- Never sent over IPC (no IPC traits are defined).
- Includes |frame_url| and |page_url| which are populated based on
browser-side data (rather than IPC-based data).
- Cannot be copy-constructed directly from
UntrustworthyContextMenuParams, except by RenderFrameHostImpl.
Fixed: 534561, 1059083
Change-Id: I80239532aa693a0cb80aab29dcf4824bbb971e13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2091921
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749036}
This CL updates all references to the WebKit namespace in content.
TBR=darin@chromium.org
BUG=295096
Review URL: https://codereview.chromium.org/63253002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233513 0039d316-1c4b-4281-b951-d872f2087c98