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

Issue 23855002: Fixing spreadsheets printing. (Closed)

Created:
7 years, 3 months ago by Vitaly Buka (NO REVIEWS)
Modified:
7 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fixing spreadsheets printing. Some plugins needs to have document loaded to decide if printing is supported. This patch makes scripted print preview for plugins to wait DidStopLoading(). BUG=268778 R=cevans@chromium.org, thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221300

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Total comments: 2

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -15 lines) Patch
M chrome/browser/printing/print_view_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 2 3 4 4 chunks +15 lines, -5 lines 0 comments Download
M chrome/common/print_messages.h View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/renderer/printing/print_web_view_helper.h View 1 2 3 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/renderer/printing/print_web_view_helper.cc View 1 2 3 5 chunks +46 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Vitaly Buka (NO REVIEWS)
7 years, 3 months ago (2013-09-02 06:25:07 UTC) #1
Lei Zhang
https://codereview.chromium.org/23855002/diff/14001/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): https://codereview.chromium.org/23855002/diff/14001/chrome/browser/printing/print_view_manager.cc#newcode177 chrome/browser/printing/print_view_manager.cc:177: return; If we return early, we probably should reset ...
7 years, 3 months ago (2013-09-03 20:07:26 UTC) #2
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/23855002/diff/14001/chrome/renderer/printing/print_web_view_helper.cc File chrome/renderer/printing/print_web_view_helper.cc (right): https://codereview.chromium.org/23855002/diff/14001/chrome/renderer/printing/print_web_view_helper.cc#newcode1707 chrome/renderer/printing/print_web_view_helper.cc:1707: base::MessageLoop::current()->PostDelayedTask( On 2013/09/03 20:07:26, Lei Zhang wrote: > I ...
7 years, 3 months ago (2013-09-04 00:22:39 UTC) #3
Lei Zhang
There's still some un-addressed comments from patch set 2. Some nits below as well. https://codereview.chromium.org/23855002/diff/25001/chrome/common/print_messages.h ...
7 years, 3 months ago (2013-09-04 01:06:34 UTC) #4
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/23855002/diff/14001/chrome/renderer/printing/print_web_view_helper.h File chrome/renderer/printing/print_web_view_helper.h (right): https://codereview.chromium.org/23855002/diff/14001/chrome/renderer/printing/print_web_view_helper.h#newcode65 chrome/renderer/printing/print_web_view_helper.h:65: public base::SupportsWeakPtr<PrintWebViewHelper> { On 2013/09/03 20:07:26, Lei Zhang wrote: ...
7 years, 3 months ago (2013-09-04 01:49:48 UTC) #5
Lei Zhang
https://codereview.chromium.org/23855002/diff/25001/chrome/renderer/printing/print_web_view_helper.cc File chrome/renderer/printing/print_web_view_helper.cc (right): https://codereview.chromium.org/23855002/diff/25001/chrome/renderer/printing/print_web_view_helper.cc#newcode1698 chrome/renderer/printing/print_web_view_helper.cc:1698: if (is_modifiable && is_loading_ && On 2013/09/04 01:49:49, Vitaly ...
7 years, 3 months ago (2013-09-04 02:18:11 UTC) #6
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/23855002/diff/32001/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): https://codereview.chromium.org/23855002/diff/32001/chrome/browser/printing/print_view_manager.cc#newcode100 chrome/browser/printing/print_view_manager.cc:100: if (print_preview_state_ != NOT_PREVIEWING) On 2013/09/04 02:18:12, Lei Zhang ...
7 years, 3 months ago (2013-09-04 02:52:53 UTC) #7
Lei Zhang
lgtm
7 years, 3 months ago (2013-09-04 03:08:23 UTC) #8
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/23855002/diff/32001/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): https://codereview.chromium.org/23855002/diff/32001/chrome/browser/printing/print_view_manager.cc#newcode100 chrome/browser/printing/print_view_manager.cc:100: if (print_preview_state_ != NOT_PREVIEWING) On 2013/09/04 02:52:53, Vitaly Buka ...
7 years, 3 months ago (2013-09-04 03:11:43 UTC) #9
Vitaly Buka (NO REVIEWS)
Lei, thanks for review. +jln for chrome/common/print_messages.h
7 years, 3 months ago (2013-09-04 03:14:45 UTC) #10
Chris Evans
https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc#newcode180 chrome/browser/printing/print_view_manager.cc:180: dialog_controller->PrintPreview(web_contents()); Is it safe to call this multiple times? ...
7 years, 3 months ago (2013-09-04 20:27:04 UTC) #11
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc#newcode180 chrome/browser/printing/print_view_manager.cc:180: dialog_controller->PrintPreview(web_contents()); Only first call to dialog_controller->PrintPreview creates preview. PrintPreviewUI::SetInitialParams ...
7 years, 3 months ago (2013-09-04 20:56:13 UTC) #12
Chris Evans
On 2013/09/04 20:56:13, Vitaly Buka wrote: > https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc > File chrome/browser/printing/print_view_manager.cc (right): > > https://codereview.chromium.org/23855002/diff/13001/chrome/browser/printing/print_view_manager.cc#newcode180 ...
7 years, 3 months ago (2013-09-04 20:57:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/23855002/13001
7 years, 3 months ago (2013-09-04 20:59:22 UTC) #14
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
7 years, 3 months ago (2013-09-04 20:59:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/23855002/49001
7 years, 3 months ago (2013-09-04 21:07:02 UTC) #16
Vitaly Buka (NO REVIEWS)
7 years, 3 months ago (2013-09-04 23:45:34 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 manually as r221300 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698