0
Commit Graph

3 Commits

Author SHA1 Message Date
Lukasz Anforowicz
c9513685bb Avoid needlessly sending |page_url| and |frame_url| over IPC.
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}
2020-03-11 03:13:26 +00:00
abarth@chromium.org
180ef24f1f Rename WebKit namespace to blink (part 3)
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
2013-11-07 06:50:46 +00:00
darin@chromium.org
3175feac76 Move ContextMenuParams(WebContextMenuInfo) ctor to content/renderer/.
BUG=240331

Review URL: https://chromiumcodereview.appspot.com/15049004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200511 0039d316-1c4b-4281-b951-d872f2087c98
2013-05-16 10:57:48 +00:00