blob: ae2a112b4e3a4a387900265471636db036ffa26a [file] [log] [blame]
// Copyright 2020 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;
// A per-frame interface used to support network error pages.
// TODO(darin): Consolidate other such interfaces into this interface.
interface NetErrorPageSupport {
// Called to schedule a download of the current page at a later time.
[EnableIf=enable_offline_pages]
DownloadPageLater();
// Called to indicate if download button is being shown in the error page.
[EnableIf=enable_offline_pages]
SetIsShowingDownloadButtonInErrorPage(bool showing_download_button);
};