electron/shell/browser/printing/print_view_manager_electron.cc
2021-05-19 16:15:47 -07:00

37 lines
1.1 KiB
C++

// Copyright 2020 Microsoft, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/printing/print_view_manager_electron.h"
#include <utility>
#include "build/build_config.h"
namespace electron {
PrintViewManagerElectron::PrintViewManagerElectron(
content::WebContents* web_contents)
: PrintViewManagerBase(web_contents) {}
PrintViewManagerElectron::~PrintViewManagerElectron() {}
void PrintViewManagerElectron::SetupScriptedPrintPreview(
SetupScriptedPrintPreviewCallback callback) {
std::move(callback).Run();
}
void PrintViewManagerElectron::ShowScriptedPrintPreview(
bool source_is_modifiable) {}
void PrintViewManagerElectron::RequestPrintPreview(
printing::mojom::RequestPrintPreviewParamsPtr params) {}
void PrintViewManagerElectron::CheckForCancel(int32_t preview_ui_id,
int32_t request_id,
CheckForCancelCallback callback) {
}
WEB_CONTENTS_USER_DATA_KEY_IMPL(PrintViewManagerElectron)
} // namespace electron