blob: bca39c1b3c29144e752554e0c05c534d6f25e2ba [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module chrome.mojom;
import "url/mojom/url.mojom";
interface PrerenderCanceler {
// Cancels prerendering because of an unsupported scheme.
CancelPrerenderForUnsupportedScheme(url.mojom.Url url);
};
// PrerenderDispatcher Messages
// These are messages sent from the browser to the renderer in relation to
// running prerenders.
interface PrerenderDispatcher {
// Signals to launcher that a prerender is running.
PrerenderStart(int32 prerender_id);
// Signals to launcher that a prerender is running.
PrerenderStopLoading(int32 prerender_id);
// Signals to launcher that a prerender has had it's 'domcontentloaded' event.
PrerenderDomContentLoaded(int32 prerender_id);
// Signals to a launcher that a prerender is no longer running.
PrerenderStop(int32 prerender_id);
};