chromium/printing/printing_context_linux.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "printing/printing_context_linux.h"

#include <memory>
#include <utility>

#include "base/check.h"
#include "base/notreached.h"
#include "base/values.h"
#include "build/buildflag.h"
#include "printing/buildflags/buildflags.h"
#include "printing/metafile.h"
#include "printing/mojom/print.mojom.h"
#include "printing/print_dialog_linux_interface.h"
#include "printing/print_job_constants.h"
#include "printing/units.h"

#if BUILDFLAG(ENABLE_OOP_PRINTING_NO_OOP_BASIC_PRINT_DIALOG)
#include "printing/printing_features.h"
#endif

// Avoid using LinuxUi on Fuchsia.
#if BUILDFLAG(IS_LINUX)
#include "ui/linux/linux_ui.h"
#endif

namespace printing {

// static
std::unique_ptr<PrintingContext> PrintingContext::CreateImpl(
    Delegate* delegate,
    ProcessBehavior process_behavior) {}

PrintingContextLinux::PrintingContextLinux(Delegate* delegate,
                                           ProcessBehavior process_behavior)
    :{}

PrintingContextLinux::~PrintingContextLinux() {}

void PrintingContextLinux::AskUserForSettings(int max_pages,
                                              bool has_selection,
                                              bool is_scripted,
                                              PrintSettingsCallback callback) {}

mojom::ResultCode PrintingContextLinux::UseDefaultSettings() {}

gfx::Size PrintingContextLinux::GetPdfPaperSizeDeviceUnits() {}

mojom::ResultCode PrintingContextLinux::UpdatePrinterSettings(
    const PrinterSettings& printer_settings) {}

void PrintingContextLinux::InitWithSettings(
    std::unique_ptr<PrintSettings> settings) {}

mojom::ResultCode PrintingContextLinux::NewDocument(
    const std::u16string& document_name) {}

mojom::ResultCode PrintingContextLinux::PrintDocument(
    const MetafilePlayer& metafile,
    const PrintSettings& settings,
    uint32_t num_pages) {}

mojom::ResultCode PrintingContextLinux::DocumentDone() {}

void PrintingContextLinux::Cancel() {}

void PrintingContextLinux::ReleaseContext() {}

printing::NativeDrawingContext PrintingContextLinux::context() const {}

}  // namespace printing