|
Windows: Make it possible to print text with GDI.
This only affects the printing of web pages directly on the host.
- Renderer tells the browser if the print job is HTML. (AKA modifiable)
-- Browser does lots of plumbing to get the bool into PrintSettings.
-- Print preview already sends this info and it just needs extraction.
- Add --disable-gdi-text-printing for reverting to old behavior.
- Browser plumbs bool to PdfToEmfConverter to the utility process.
- Utility plumbs bool into the PDF plugin code into PDFium.
- Move unused PreCacheFontCharacters code out of RenderThreadImpl.
-- Use it in PrintingHandler instead.
- Remove dead code, fix lint errors / typos.
BUG= 409472
Committed: https://crrev.com/e85e6b6cf8d2a9bb95796cbe87efac18fc9689ff
Cr-Commit-Position: refs/heads/master@{#414209}
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+287 lines, -240 lines) |
Patch |
 |
M |
build_overrides/pdfium.gni
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/pdf_to_emf_converter.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/pdf_to_emf_converter.cc
|
View
|
1
2
|
10 chunks |
+58 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_worker.h
|
View
|
1
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_worker.cc
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_view_manager_base.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printer_query.h
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printer_query.cc
|
View
|
|
2 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printing_message_filter.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_utility_printing_messages.h
|
View
|
|
5 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/service/service_utility_process_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/utility/chrome_content_utility_client.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/utility/printing_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/utility/printing_handler.cc
|
View
|
1
2
3
|
2 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/printing/common/print_messages.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/printing/renderer/print_web_view_helper.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_message_filter.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_message_filter.cc
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -39 lines |
0 comments
|
Download
|
 |
M |
content/common/render_process_messages.h
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pdf/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
pdf/pdf.h
|
View
|
1
2
3
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
pdf/pdf.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pdf/pdf_engine.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
pdf/pdfium/pdfium_engine.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pdf/pdfium/pdfium_engine.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings.h
|
View
|
|
3 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_conversion.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_system_dialog_win.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_system_dialog_win.cc
|
View
|
|
6 chunks |
+13 lines, -63 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_win.cc
|
View
|
1
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_win_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
Total messages: 35 (21 generated)
|