#include "third_party/blink/renderer/modules/printing/web_print_job.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_web_print_job_attributes.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_web_print_job_state.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/event_target_names.h"
#include "third_party/blink/renderer/core/event_type_names.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/printing/web_printing_type_converters.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
namespace {
V8JobStateEnum;
bool AreFurtherStateUpdatesPossible(V8JobStateEnum state) { … }
}
WebPrintJob::WebPrintJob(ExecutionContext* execution_context,
mojom::blink::WebPrintJobInfoPtr print_job_info)
: … { … }
WebPrintJob::~WebPrintJob() = default;
void WebPrintJob::cancel() { … }
ExecutionContext* WebPrintJob::GetExecutionContext() const { … }
const AtomicString& WebPrintJob::InterfaceName() const { … }
void WebPrintJob::OnWebPrintJobUpdate(
mojom::blink::WebPrintJobUpdatePtr update) { … }
bool WebPrintJob::HasPendingActivity() const { … }
void WebPrintJob::Trace(Visitor* visitor) const { … }
}