2019-11-04 17:50:31 +00:00
|
|
|
// Copyright (c) 2015 Slack Technologies, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "shell/browser/electron_pdf_web_contents_helper_client.h"
|
|
|
|
|
2021-06-04 04:16:13 +00:00
|
|
|
ElectronPDFWebContentsHelperClient::ElectronPDFWebContentsHelperClient() =
|
|
|
|
default;
|
2019-11-04 17:50:31 +00:00
|
|
|
ElectronPDFWebContentsHelperClient::~ElectronPDFWebContentsHelperClient() =
|
|
|
|
default;
|
|
|
|
|
|
|
|
void ElectronPDFWebContentsHelperClient::UpdateContentRestrictions(
|
|
|
|
content::WebContents* contents,
|
|
|
|
int content_restrictions) {}
|
|
|
|
void ElectronPDFWebContentsHelperClient::OnPDFHasUnsupportedFeature(
|
|
|
|
content::WebContents* contents) {}
|
|
|
|
void ElectronPDFWebContentsHelperClient::OnSaveURL(
|
|
|
|
content::WebContents* contents) {}
|
|
|
|
void ElectronPDFWebContentsHelperClient::SetPluginCanSave(
|
|
|
|
content::WebContents* contents,
|
|
|
|
bool can_save) {}
|