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

Issue 1125343004: Add a "Simplify Page" option to the print preview dialog (Closed)

Created:
5 years, 7 months ago by arjunpatel
Modified:
5 years, 4 months ago
CC:
alexg__, arv+watch_chromium.org, chromium-reviews, csaavedra, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

"Simplify Page" print preview option enables preprocessing of the page using the DOM Distiller. Rendering happens in a hidden web contents, that lives in parallel with the originally printed contents. Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/_-zEoPLFKp0 BUG=490809 R=alekseys@chromium.org, avi@chromium.org, jochen@chromium.org, nyquist@chromium.org, vitalybuka@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/ab26826ebd246afdbcc94d44f00015f10f6db6da

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update AUTHORS file to reflect the correct HP name used in the CLA #

Total comments: 24

Patch Set 3 : Pre-rebase changes #

Patch Set 4 : Only show checkbox when page is distillable #

Patch Set 5 : Rebase and remove custom URL source #

Total comments: 4

Patch Set 6 : Simplify version of the HiddenPrintPreview and solved issues pointed out by the last review #

Total comments: 37

Patch Set 7 : Refactoring following the proposals in the reviews #

Total comments: 35

Patch Set 8 : More refactors and remove tab_helpers dependency #

Total comments: 18

Patch Set 9 : Removed final and defined closures as const, fixed Windows compilation #

Patch Set 10 : Fixup "Add "Print friendly" option to print preview dialog" #

Total comments: 1

Patch Set 11 : Cleanup unused variables #

Patch Set 12 : Fixup "Add a hidden renderer for simplified printed pages" #

Patch Set 13 : Fix for the failing tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+592 lines, -15 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/data/print_ticket_store.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -0 lines 0 comments Download
A + chrome/browser/resources/print_preview/data/ticket_items/distill_page.js View 1 2 3 4 5 6 7 8 9 10 4 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/resources/print_preview/native_layer.js View 1 2 3 4 5 6 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/preview_generator.js View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/previewarea/preview_area.js View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 5 6 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/other_options_settings.html View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/other_options_settings.js View 1 2 3 4 5 6 10 chunks +71 lines, -4 lines 0 comments Download
A chrome/browser/ui/webui/print_preview/print_preview_distiller.h View 1 2 3 4 5 6 7 8 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/print_preview/print_preview_distiller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +264 lines, -0 lines 1 comment Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.h View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +42 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.h View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M components/dom_distiller/core/css/distilledpage.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M components/dom_distiller/core/javascript/dom_distiller_viewer.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +18 lines, -0 lines 0 comments Download
M printing/print_job_constants.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M printing/print_job_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (18 generated)
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1125343004/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/1125343004/diff/1/AUTHORS#newcode597 AUTHORS:597: Hewlett-Packard Development Company, L.P. <*@hp.com> I don't see HP ...
5 years, 7 months ago (2015-05-08 17:14:33 UTC) #3
arjunpatel
On 2015/05/08 17:14:33, Vitaly Buka wrote: > https://codereview.chromium.org/1125343004/diff/1/AUTHORS > File AUTHORS (right): > > https://codereview.chromium.org/1125343004/diff/1/AUTHORS#newcode597 ...
5 years, 7 months ago (2015-05-12 16:22:33 UTC) #4
Vitaly Buka (NO REVIEWS)
On 2015/05/12 16:22:33, arjunpatel wrote: > On 2015/05/08 17:14:33, Vitaly Buka wrote: > > https://codereview.chromium.org/1125343004/diff/1/AUTHORS ...
5 years, 7 months ago (2015-05-12 16:44:16 UTC) #6
arjunpatel
On 2015/05/12 16:44:16, Vitaly Buka wrote: > On 2015/05/12 16:22:33, arjunpatel wrote: > > On ...
5 years, 7 months ago (2015-05-12 18:41:52 UTC) #7
nyquist
some initial comments https://codereview.chromium.org/1125343004/diff/20001/AUTHORS File AUTHORS (right): https://codereview.chromium.org/1125343004/diff/20001/AUTHORS#newcode597 AUTHORS:597: Hewlett-Packard Company <*@hp.com> Remove https://codereview.chromium.org/1125343004/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File ...
5 years, 7 months ago (2015-05-13 07:56:39 UTC) #8
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1125343004/diff/20001/build/ios/grit_whitelist.txt File build/ios/grit_whitelist.txt (right): https://codereview.chromium.org/1125343004/diff/20001/build/ios/grit_whitelist.txt#newcode23 build/ios/grit_whitelist.txt:23: IDR_DISTILLER_PRINT_PREVEW_CSS why do you need this on IOS?
5 years, 7 months ago (2015-05-15 17:25:44 UTC) #9
csaavedra
5 years, 7 months ago (2015-05-18 16:20:04 UTC) #10
jochen (gone - plz use gerrit)
can you send an intent to implement thread for this to chromium-dev? please file a ...
5 years, 7 months ago (2015-05-19 11:05:51 UTC) #11
cjhopman
https://codereview.chromium.org/1125343004/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1125343004/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode33 components/dom_distiller/content/distiller_page_web_contents.cc:33: content::WebContents* SourcePageHandleWebContents::GetWebContents() const { On 2015/05/13 07:56:38, nyquist wrote: ...
5 years, 7 months ago (2015-05-20 02:00:03 UTC) #12
PhistucK
5 years, 7 months ago (2015-05-21 21:11:11 UTC) #14
arjunpatel
https://codereview.chromium.org/1125343004/diff/20001/components/dom_distiller/content/dom_distiller_viewer_source.cc File components/dom_distiller/content/dom_distiller_viewer_source.cc (right): https://codereview.chromium.org/1125343004/diff/20001/components/dom_distiller/content/dom_distiller_viewer_source.cc#newcode192 components/dom_distiller/content/dom_distiller_viewer_source.cc:192: class DomDistillerViewerSource::PrintPreviewRequestViewerHandle On 2015/05/20 02:00:02, cjhopman wrote: > We ...
5 years, 7 months ago (2015-05-26 21:40:45 UTC) #15
arjunpatel
https://codereview.chromium.org/1125343004/diff/20001/AUTHORS File AUTHORS (right): https://codereview.chromium.org/1125343004/diff/20001/AUTHORS#newcode597 AUTHORS:597: Hewlett-Packard Company <*@hp.com> On 2015/05/13 07:56:38, nyquist wrote: > ...
5 years, 7 months ago (2015-05-27 00:16:46 UTC) #16
arjunpatel
https://codereview.chromium.org/1125343004/diff/20001/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/1125343004/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode1263 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:1263: can_simplify = cmdline->HasSwitch(switches::kEnableDomDistiller) && On 2015/05/13 07:56:38, nyquist wrote: ...
5 years, 7 months ago (2015-05-27 17:10:11 UTC) #17
arjunpatel
We have uploaded rebased version of the patch. It eliminates all the patch changes to ...
5 years, 6 months ago (2015-06-22 18:42:03 UTC) #18
Vitaly Buka (NO REVIEWS)
+alekseys for chrome/browser/resources/print_preview/
5 years, 5 months ago (2015-07-01 22:04:59 UTC) #20
Aleksey Shlyapnikov
https://codereview.chromium.org/1125343004/diff/80001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js File chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js (right): https://codereview.chromium.org/1125343004/diff/80001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js#newcode12 chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js:12: * document to print. Add selectionOnly param description. https://codereview.chromium.org/1125343004/diff/80001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js#newcode39 ...
5 years, 5 months ago (2015-07-01 23:23:51 UTC) #21
arjunpatel
On 2015/07/01 23:23:51, Aleksey Shlyapnikov wrote: > https://codereview.chromium.org/1125343004/diff/80001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js > File chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js > (right): > > ...
5 years, 5 months ago (2015-07-02 17:41:28 UTC) #22
arjunpatel
We have uploaded a new patch which simplifies version of the HiddenPrintPreview and solved issues ...
5 years, 5 months ago (2015-07-02 17:44:11 UTC) #23
Aleksey Shlyapnikov
https://codereview.chromium.org/1125343004/diff/100001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js File chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js (right): https://codereview.chromium.org/1125343004/diff/100001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js#newcode41 chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js:41: return this.isAvailable_ && !this.selectionOnly_.isCapabilityAvailable(); Wouldn't the behavior be pretty ...
5 years, 5 months ago (2015-07-07 01:26:18 UTC) #24
arjunpatel
On 2015/07/07 01:26:18, Aleksey Shlyapnikov wrote: > https://codereview.chromium.org/1125343004/diff/100001/chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js > File chrome/browser/resources/print_preview/data/ticket_items/print_friendly.js > (right): > > ...
5 years, 5 months ago (2015-07-07 18:47:10 UTC) #25
Vitaly Buka (NO REVIEWS)
Sorry for delay. I waited review from distiller team, and didn't notice how most distiller ...
5 years, 5 months ago (2015-07-13 07:00:32 UTC) #26
arjunpatel
There are a lot of changes so we are not commenting one by one, we ...
5 years, 5 months ago (2015-07-16 17:38:16 UTC) #27
Vitaly Buka (NO REVIEWS)
Thanks for updated CL. I have some more comments. This may look like a lot, ...
5 years, 5 months ago (2015-07-20 20:45:33 UTC) #28
arjunpatel
Most of the requests are acknowledged and already being worked on except for one issue ...
5 years, 5 months ago (2015-07-21 17:25:01 UTC) #29
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/1125343004/diff/120001/chrome/browser/ui/webui/print_preview/print_preview_ui.h File chrome/browser/ui/webui/print_preview/print_preview_ui.h (right): https://codereview.chromium.org/1125343004/diff/120001/chrome/browser/ui/webui/print_preview/print_preview_ui.h#newcode213 chrome/browser/ui/webui/print_preview/print_preview_ui.h:213: base::WeakPtrFactory<PrintPreviewUI> weak_ptr_factory_; Correct, you can move weak_ptr_factory_(this) from cc ...
5 years, 5 months ago (2015-07-21 18:38:18 UTC) #30
Vitaly Buka (NO REVIEWS)
+avi for chrome/browser/ui/tab_helpers.h
5 years, 5 months ago (2015-07-21 18:43:26 UTC) #32
Avi (use Gerrit)
On 2015/07/21 18:43:26, Vitaly Buka wrote: > +avi for chrome/browser/ui/tab_helpers.h I am not convinced. Why ...
5 years, 5 months ago (2015-07-21 20:46:47 UTC) #33
Avi (use Gerrit)
Blindly adding every tab helper isn't the way to go here. https://codereview.chromium.org/1125343004/diff/120001/chrome/browser/ui/tab_helpers.h File chrome/browser/ui/tab_helpers.h (right): ...
5 years, 5 months ago (2015-07-21 20:47:58 UTC) #34
arjunpatel
https://codereview.chromium.org/1125343004/diff/120001/chrome/browser/ui/tab_helpers.h File chrome/browser/ui/tab_helpers.h (right): https://codereview.chromium.org/1125343004/diff/120001/chrome/browser/ui/tab_helpers.h#newcode54 chrome/browser/ui/tab_helpers.h:54: // which is supported by tab helpers. On 2015/07/21 ...
5 years, 5 months ago (2015-07-23 16:19:45 UTC) #35
arjunpatel
Uploaded a new patch with more refactors and remove tab_helpers dependency
5 years, 5 months ago (2015-07-23 16:22:32 UTC) #36
Avi (use Gerrit)
https://codereview.chromium.org/1125343004/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1125343004/diff/140001/chrome/app/generated_resources.grd#newcode8679 chrome/app/generated_resources.grd:8679: + Distill page This sounds very technical; would an ...
5 years, 5 months ago (2015-07-23 18:25:53 UTC) #37
Vitaly Buka (NO REVIEWS)
lgtm https://codereview.chromium.org/1125343004/diff/140001/chrome/browser/ui/webui/print_preview/print_preview_distiller.cc File chrome/browser/ui/webui/print_preview/print_preview_distiller.cc (right): https://codereview.chromium.org/1125343004/diff/140001/chrome/browser/ui/webui/print_preview/print_preview_distiller.cc#newcode38 chrome/browser/ui/webui/print_preview/print_preview_distiller.cc:38: base::Closure on_failed_callback) const base::Closure& on_failed_callback https://codereview.chromium.org/1125343004/diff/140001/chrome/browser/ui/webui/print_preview/print_preview_distiller.cc#newcode199 chrome/browser/ui/webui/print_preview/print_preview_distiller.cc:199: base::Closure ...
5 years, 5 months ago (2015-07-23 18:28:34 UTC) #38
Vitaly Buka (NO REVIEWS)
lgtm Please continue with avi@ and probably nyquist@ for distiller change. https://codereview.chromium.org/1125343004/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): ...
5 years, 5 months ago (2015-07-23 18:45:11 UTC) #39
Avi (use Gerrit)
On 2015/07/23 18:45:11, Vitaly Buka wrote: > Actually it was my advice. > It's allowed ...
5 years, 5 months ago (2015-07-23 20:10:01 UTC) #40
arjunpatel
On 2015/07/23 18:25:53, Avi wrote: > https://codereview.chromium.org/1125343004/diff/140001/chrome/app/generated_resources.grd > File chrome/app/generated_resources.grd (right): > > https://codereview.chromium.org/1125343004/diff/140001/chrome/app/generated_resources.grd#newcode8679 > ...
5 years, 4 months ago (2015-07-28 16:55:07 UTC) #41
arjunpatel
5 years, 4 months ago (2015-07-28 16:58:00 UTC) #42
Avi (use Gerrit)
The code looks good, and the UI string remains terrible. No one will know what ...
5 years, 4 months ago (2015-07-28 23:10:57 UTC) #43
arjunpatel
On 2015/07/28 23:10:57, Avi wrote: > The code looks good, and the UI string remains ...
5 years, 4 months ago (2015-07-30 17:08:39 UTC) #44
arjunpatel
Fixed UI string based on feedback.
5 years, 4 months ago (2015-07-30 17:10:20 UTC) #45
Avi (use Gerrit)
On 2015/07/30 17:10:20, arjunpatel wrote: > Fixed UI string based on feedback. LGTM
5 years, 4 months ago (2015-07-30 19:07:49 UTC) #46
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 4 months ago (2015-07-30 20:36:47 UTC) #47
nyquist
components/dom_distiller lgtm
5 years, 4 months ago (2015-07-30 20:41:45 UTC) #48
Aleksey Shlyapnikov
https://codereview.chromium.org/1125343004/diff/180001/chrome/browser/resources/print_preview/data/ticket_items/distill_page.js File chrome/browser/resources/print_preview/data/ticket_items/distill_page.js (right): https://codereview.chromium.org/1125343004/diff/180001/chrome/browser/resources/print_preview/data/ticket_items/distill_page.js#newcode28 chrome/browser/resources/print_preview/data/ticket_items/distill_page.js:28: this.selectionOnly_ = selectionOnly; You're not using selectionOnly_ anywhere, right? ...
5 years, 4 months ago (2015-07-30 20:44:46 UTC) #49
Aleksey Shlyapnikov
https://codereview.chromium.org/1125343004/diff/180001/chrome/browser/resources/print_preview/data/ticket_items/distill_page.js File chrome/browser/resources/print_preview/data/ticket_items/distill_page.js (right): https://codereview.chromium.org/1125343004/diff/180001/chrome/browser/resources/print_preview/data/ticket_items/distill_page.js#newcode28 chrome/browser/resources/print_preview/data/ticket_items/distill_page.js:28: this.selectionOnly_ = selectionOnly; You're not using selectionOnly_ anywhere, right? ...
5 years, 4 months ago (2015-07-30 20:44:46 UTC) #50
jochen (gone - plz use gerrit)
lgtm
5 years, 4 months ago (2015-07-31 07:13:40 UTC) #51
arjunpatel
Added new patch and removed unused variables based on feedback from Aleksey.
5 years, 4 months ago (2015-07-31 17:24:19 UTC) #52
Aleksey Shlyapnikov
lgtm for chrome/browser/resources/print_preview/
5 years, 4 months ago (2015-07-31 18:07:41 UTC) #53
Vitaly Buka (NO REVIEWS)
CQ?
5 years, 4 months ago (2015-07-31 23:56:36 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125343004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125343004/200001
5 years, 4 months ago (2015-08-03 16:25:37 UTC) #57
commit-bot: I haz the power
The author arjunpatel@hp.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 4 months ago (2015-08-03 16:25:47 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125343004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125343004/200001
5 years, 4 months ago (2015-08-03 18:46:34 UTC) #61
commit-bot: I haz the power
The author arjunpatel@hp.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 4 months ago (2015-08-03 18:47:23 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125343004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125343004/200001
5 years, 4 months ago (2015-08-03 18:49:20 UTC) #65
commit-bot: I haz the power
Dry run: The author arjunpatel@hp.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
5 years, 4 months ago (2015-08-03 18:49:22 UTC) #67
Vitaly Buka (NO REVIEWS)
Can you please re-base this, there are some conflicts. I can't upload patch into issue ...
5 years, 4 months ago (2015-08-03 20:04:10 UTC) #68
Vitaly Buka (NO REVIEWS)
Arjun, I tried to apply the last patch. There are some missing includes which are ...
5 years, 4 months ago (2015-08-04 23:53:46 UTC) #69
arjunpatel
Fixup "Add a hidden renderer for simplified printed pages" Run JavaScript in an isolated world, ...
5 years, 4 months ago (2015-08-10 21:11:49 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125343004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125343004/220001
5 years, 4 months ago (2015-08-12 16:40:27 UTC) #72
commit-bot: I haz the power
Dry run: The author arjunpatel@hp.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
5 years, 4 months ago (2015-08-12 16:40:29 UTC) #74
Vitaly Buka (NO REVIEWS)
Failed some times.
5 years, 4 months ago (2015-08-12 18:02:55 UTC) #75
Vitaly Buka (NO REVIEWS)
On 2015/08/12 18:02:55, Vitaly Buka wrote: > Failed some times. You can't use "Dry run" ...
5 years, 4 months ago (2015-08-12 18:23:47 UTC) #76
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125343004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125343004/240001
5 years, 4 months ago (2015-08-13 17:51:12 UTC) #78
commit-bot: I haz the power
Dry run: The author arjunpatel@hp.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
5 years, 4 months ago (2015-08-13 17:51:15 UTC) #80
Vitaly Buka (NO REVIEWS)
Committed patchset #13 (id:240001) manually as ab26826ebd246afdbcc94d44f00015f10f6db6da (presubmit successful).
5 years, 4 months ago (2015-08-13 20:02:43 UTC) #81
Lei Zhang
5 years, 4 months ago (2015-08-14 05:41:31 UTC) #83
Message was sent while issue was closed.
I have a number of issues with this CL. All the nitty things that I can fix, I
have fixed in https://codereview.chromium.org/1294663003, but I'm not thrilled
about the IPC sending.

https://codereview.chromium.org/1125343004/diff/240001/chrome/browser/ui/webu...
File chrome/browser/ui/webui/print_preview/print_preview_distiller.cc (right):

https://codereview.chromium.org/1125343004/diff/240001/chrome/browser/ui/webu...
chrome/browser/ui/webui/print_preview/print_preview_distiller.cc:144:
rvh->Send(new PrintMsg_InitiatePrintPreview(rvh->GetRoutingID(), false));
Has this been discussed? Seems a bit crazy to just arbitrarily send printing IPC
messages here. If we use the analogy that print preview is a carefully
orchestrated dance between the browser and renderer, this is a random stranger
cutting in.

Powered by Google App Engine
This is Rietveld 408576698