Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Issue 1556463003: Mark printing code as basic printing and/or print preview code. (Closed)

Created:
4 years, 11 months ago by Lei Zhang
Modified:
4 years, 11 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark printing code as basic printing and/or print preview code. Committed: https://crrev.com/9b14c590e296463faefd60cee87b31469d2e3b38 Cr-Commit-Position: refs/heads/master@{#369502}

Patch Set 1 #

Patch Set 2 : more rearranging, revert some gtk2_ui.cc changes for a separate CL. #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -131 lines) Patch
M build/all.gyp View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.h View 1 2 3 6 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_frame_observer.cc View 1 2 3 4 4 chunks +9 lines, -2 lines 0 comments Download
M components/printing/common/print_messages.h View 13 chunks +26 lines, -10 lines 0 comments Download
M components/printing/common/print_messages.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.h View 1 11 chunks +19 lines, -9 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 1 2 3 4 25 chunks +99 lines, -66 lines 0 comments Download
M components/printing/renderer/print_web_view_helper_linux.cc View 4 chunks +9 lines, -10 lines 0 comments Download
M components/printing/renderer/print_web_view_helper_mac.mm View 4 chunks +6 lines, -4 lines 0 comments Download
M components/printing/renderer/print_web_view_helper_pdf_win.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M components/printing/test/print_mock_render_thread.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/printing/test/print_mock_render_thread.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M components/printing/test/print_web_view_helper_browsertest.cc View 17 chunks +22 lines, -6 lines 0 comments Download
M printing/print_job_constants.h View 1 chunk +2 lines, -0 lines 0 comments Download
M printing/print_job_constants.cc View 1 chunk +3 lines, -1 line 0 comments Download
M printing/printing_context.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
Lei Zhang
I know this is a lot of ifdefs, but it's a rough first pass at ...
4 years, 11 months ago (2015-12-29 19:26:26 UTC) #2
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) As I remember basic printing is system ...
4 years, 11 months ago (2016-01-04 21:36:49 UTC) #3
Lei Zhang
https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) On 2016/01/04 21:36:49, Vitaly Buka wrote: > ...
4 years, 11 months ago (2016-01-07 03:01:09 UTC) #4
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) On 2016/01/07 03:01:09, Lei Zhang wrote: > ...
4 years, 11 months ago (2016-01-07 04:19:35 UTC) #5
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) Sorry, I tried to say: it was ...
4 years, 11 months ago (2016-01-07 04:21:14 UTC) #6
Lei Zhang
https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) On 2016/01/07 04:21:14, Vitaly Buka wrote: > ...
4 years, 11 months ago (2016-01-07 04:47:50 UTC) #7
Vitaly Buka (NO REVIEWS)
lgtm https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/1556463003/diff/40001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1006 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1006: #if defined(ENABLE_BASIC_PRINTING) Then I am fine with that ...
4 years, 11 months ago (2016-01-07 23:50:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1556463003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1556463003/60001
4 years, 11 months ago (2016-01-08 05:06:12 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/133602)
4 years, 11 months ago (2016-01-08 05:14:41 UTC) #12
Lei Zhang
+thakis for build/ +tsepez for shuffling/ifdefing in IPC messages.
4 years, 11 months ago (2016-01-08 05:30:38 UTC) #14
Nico
before adding all these ifdefs, should ENABLE_BASIC_PRINTING be moved to the new feature flag system? ...
4 years, 11 months ago (2016-01-08 15:10:22 UTC) #15
Tom Sepez
messages LGTM
4 years, 11 months ago (2016-01-08 17:29:42 UTC) #16
Lei Zhang
On 2016/01/08 15:10:22, Nico wrote: > before adding all these ifdefs, should ENABLE_BASIC_PRINTING be moved ...
4 years, 11 months ago (2016-01-13 02:50:28 UTC) #17
Nico
okie, lgtm
4 years, 11 months ago (2016-01-13 20:54:44 UTC) #18
Lei Zhang
+asvitkine for obsolete histogram
4 years, 11 months ago (2016-01-14 02:29:27 UTC) #20
Alexei Svitkine (slow)
lgtm
4 years, 11 months ago (2016-01-14 16:51:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1556463003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1556463003/80001
4 years, 11 months ago (2016-01-14 18:21:33 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-14 19:30:11 UTC) #25
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 19:31:00 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9b14c590e296463faefd60cee87b31469d2e3b38
Cr-Commit-Position: refs/heads/master@{#369502}

Powered by Google App Engine
This is Rietveld 408576698