Commit 68b735e8 authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

prerender: Add direction comments to some mojo interfaces.

Change-Id: I0d6671c150f81df315f63972e757f35a389f8532
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397038Reviewed-by: default avatarRobert Ogden <robertogden@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805313}
parent da5bb9a6
......@@ -25,7 +25,8 @@ interface PrerenderHandleClient {
OnPrerenderStop();
};
// A handle to a requested prerender. Dropping a connection to the handle is
// The renderer sends messages to the browser process over this interface. A
// handle to a requested prerender. Dropping a connection to the handle is
// treated equivalently to calling the Abandon method.
interface PrerenderHandle {
// Notifies on removal of a <link rel=prerender> element from the document.
......@@ -47,9 +48,10 @@ struct PrerenderAttributes {
gfx.mojom.Size view_size;
};
// Used by a renderer that is loading a web page to process prerender /
// prefetch requests, that are generally in the form of <link rel> tags that
// the web page author provided as hints.
// The renderer sends messages to the browser process over this interface. Used
// by a renderer loading a web page to process prerender / prefetch requests,
// that are generally in the form of <link rel> tags that the web page author
// provided as hints.
interface PrerenderProcessor {
// Called to add a prerender request to the queue for processing. The
// |prerender_handle_client| will be notified as the prerendering makes
......
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