#include "chrome/browser/ui/webui/print_preview/fake_print_render_frame.h"
#include <utility>
#include "base/notreached.h"
#include "mojo/public/cpp/bindings/pending_associated_receiver.h"
namespace printing {
FakePrintRenderFrame::FakePrintRenderFrame(
blink::AssociatedInterfaceProvider* provider) { … }
FakePrintRenderFrame::~FakePrintRenderFrame() = default;
void FakePrintRenderFrame::PrintRequestedPages() { … }
void FakePrintRenderFrame::PrintWithParams(mojom::PrintPagesParamsPtr params,
PrintWithParamsCallback callback) { … }
void FakePrintRenderFrame::PrintForSystemDialog() { … }
void FakePrintRenderFrame::SetPrintPreviewUI(
mojo::PendingAssociatedRemote<mojom::PrintPreviewUI> preview) { … }
void FakePrintRenderFrame::InitiatePrintPreview(
#if BUILDFLAG(IS_CHROMEOS_ASH)
mojo::PendingAssociatedRemote<mojom::PrintRenderer> print_renderer,
#endif
bool has_selection) { … }
void FakePrintRenderFrame::PrintPreview(base::Value::Dict settings) { … }
void FakePrintRenderFrame::OnPrintPreviewDialogClosed() { … }
void FakePrintRenderFrame::PrintFrameContent(
mojom::PrintFrameContentParamsPtr params,
PrintFrameContentCallback callback) { … }
void FakePrintRenderFrame::PrintingDone(bool success) { … }
void FakePrintRenderFrame::ConnectToPdfRenderer() { … }
void FakePrintRenderFrame::PrintNodeUnderContextMenu() { … }
void FakePrintRenderFrame::BindPrintRenderFrameReceiver(
mojo::ScopedInterfaceEndpointHandle handle) { … }
}