chore: run clang-format
- atom/ - brightray/ - chromium_src/
This commit is contained in:
parent
ec125b761c
commit
7fc3bcaa02
35 changed files with 98 additions and 98 deletions
|
@ -24,10 +24,10 @@
|
|||
#include "base/threading/thread_restrictions.h"
|
||||
#include "base/threading/thread_task_runner_handle.h"
|
||||
#include "chrome/common/chrome_utility_printing_messages.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "content/public/browser/child_process_data.h"
|
||||
#include "content/browser/utility_process_host.h"
|
||||
#include "content/browser/utility_process_host_client.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "content/public/browser/child_process_data.h"
|
||||
#include "printing/emf_win.h"
|
||||
#include "printing/pdf_render_settings.h"
|
||||
#include "ui/base/l10n/l10n_util.h"
|
||||
|
@ -39,8 +39,8 @@ namespace printing {
|
|||
namespace {
|
||||
|
||||
void CloseFileOnBlockingTaskRunner(base::File temp_file) {
|
||||
base::AssertBlockingAllowed();
|
||||
temp_file.Close();
|
||||
base::AssertBlockingAllowed();
|
||||
temp_file.Close();
|
||||
}
|
||||
|
||||
class PdfConverterImpl;
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#if defined(OS_WIN)
|
||||
#include "chrome/browser/printing/pdf_to_emf_converter.h"
|
||||
#include "printing/pdf_render_settings.h"
|
||||
#include "printing/metafile.h"
|
||||
#include "printing/pdf_render_settings.h"
|
||||
#endif
|
||||
|
||||
using base::TimeDelta;
|
||||
|
@ -264,8 +264,8 @@ void PrintJob::StartPdfToEmfConversion(
|
|||
std::make_unique<PdfConversionState>(page_size, content_area);
|
||||
const int kPrinterDpi = settings().dpi();
|
||||
PdfRenderSettings settings(
|
||||
content_area, gfx::Point(0, 0), gfx::Size(kPrinterDpi, kPrinterDpi), /*autorotate=*/true,
|
||||
settings_.color() == COLOR,
|
||||
content_area, gfx::Point(0, 0), gfx::Size(kPrinterDpi, kPrinterDpi),
|
||||
/*autorotate=*/true, settings_.color() == COLOR,
|
||||
print_text_with_gdi ? PdfRenderSettings::Mode::GDI_TEXT
|
||||
: PdfRenderSettings::Mode::NORMAL);
|
||||
pdf_conversion_state_->Start(
|
||||
|
@ -313,8 +313,8 @@ void PrintJob::StartPdfToPostScriptConversion(
|
|||
std::make_unique<PdfConversionState>(gfx::Size(), gfx::Rect());
|
||||
const int kPrinterDpi = settings().dpi();
|
||||
PdfRenderSettings settings(
|
||||
content_area, physical_offsets, gfx::Size(kPrinterDpi, kPrinterDpi), true /* autorotate? */,
|
||||
settings_.color() == COLOR,
|
||||
content_area, physical_offsets, gfx::Size(kPrinterDpi, kPrinterDpi),
|
||||
true /* autorotate? */, settings_.color() == COLOR,
|
||||
ps_level2 ? PdfRenderSettings::Mode::POSTSCRIPT_LEVEL2
|
||||
: PdfRenderSettings::Mode::POSTSCRIPT_LEVEL3);
|
||||
pdf_conversion_state_->Start(
|
||||
|
@ -466,6 +466,8 @@ PrintedDocument* JobEventDetails::document() const {
|
|||
}
|
||||
|
||||
#if defined(OS_WIN)
|
||||
PrintedPage* JobEventDetails::page() const { return page_.get(); }
|
||||
PrintedPage* JobEventDetails::page() const {
|
||||
return page_.get();
|
||||
}
|
||||
#endif
|
||||
} // namespace printing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue