|
De-duplicate job_settings parsing code.
Proper set/get methods in PrintSettings.
Objective of this re-factoring is to simplify processing of
"print_to_pdf || is_cloud_dialog || print_to_cloud" case.
Now all platforms for this case do almost the same by in different way: calculate and set printing area.
In the next CL I'll move that code into common PrintingContext::UpdatePrintSettings and will ask platform specific implementation for desired page size only.
BUG= 305731
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231501
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+323 lines, -361 lines) |
Patch |
 |
M |
chrome/browser/printing/print_dialog_gtk.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_dialog_gtk.cc
|
View
|
|
5 chunks |
+19 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_worker.cc
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printing_message_filter.cc
|
View
|
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
printing/page_number.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
printing/print_dialog_gtk_interface.h
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
printing/print_job_constants.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/print_job_constants.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings.h
|
View
|
|
2 chunks |
+83 lines, -29 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings.cc
|
View
|
|
3 chunks |
+24 lines, -40 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer.cc
|
View
|
|
1 chunk |
+73 lines, -24 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_gtk.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_gtk.cc
|
View
|
|
4 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_mac.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_mac.cc
|
View
|
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_win.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/print_settings_initializer_win.cc
|
View
|
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
printing/printed_document.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context.h
|
View
|
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context.cc
|
View
|
|
2 chunks |
+17 lines, -29 lines |
0 comments
|
Download
|
 |
|
printing/printing_context_android.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_gtk.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_gtk.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_mac.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_mac.mm
|
View
|
|
4 chunks |
+21 lines, -53 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_no_system_dialog.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_no_system_dialog.cc
|
View
|
|
1 chunk |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_win.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
printing/printing_context_win.cc
|
View
|
|
6 chunks |
+22 lines, -43 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|