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

Issue 6930034: Print Preview: Print in the background. (Closed)

Created:
9 years, 7 months ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
cbentzel, sky
CC:
chromium-reviews, jam, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Print Preview: Print in the background. BUG=79531 TEST=Print preview tab closes print button is pressed. Printing succeeds. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84539

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : fix build after r84303 #

Total comments: 6

Patch Set 4 : address some comments #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -9 lines) Patch
M chrome/browser/browser_process.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 chunks +16 lines, -0 lines 0 comments Download
A chrome/browser/printing/background_printing_manager.h View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/printing/background_printing_manager.cc View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_list.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_list.cc View 1 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_list_unittest.cc View 1 2 3 4 3 chunks +90 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.cc View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/testing_browser_process.h View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/testing_browser_process.cc View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M content/common/notification_type.h View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Lei Zhang
For print preview, we need to hide the preview tab once the user clicks the ...
9 years, 7 months ago (2011-05-05 23:52:57 UTC) #1
cbentzel
On 2011/05/05 23:52:57, Lei Zhang wrote: > For print preview, we need to hide the ...
9 years, 7 months ago (2011-05-06 16:04:50 UTC) #2
sky
http://codereview.chromium.org/6930034/diff/6003/chrome/browser/printing/background_printing_manager.cc File chrome/browser/printing/background_printing_manager.cc (right): http://codereview.chromium.org/6930034/diff/6003/chrome/browser/printing/background_printing_manager.cc#newcode22 chrome/browser/printing/background_printing_manager.cc:22: DCHECK_EQ(0U, printing_contents_.size()); Its the browsers that keep the process ...
9 years, 7 months ago (2011-05-06 16:37:55 UTC) #3
Lei Zhang
http://codereview.chromium.org/6930034/diff/6003/chrome/browser/printing/background_printing_manager.cc File chrome/browser/printing/background_printing_manager.cc (right): http://codereview.chromium.org/6930034/diff/6003/chrome/browser/printing/background_printing_manager.cc#newcode22 chrome/browser/printing/background_printing_manager.cc:22: DCHECK_EQ(0U, printing_contents_.size()); On 2011/05/06 16:37:55, sky wrote: > Its ...
9 years, 7 months ago (2011-05-06 18:49:01 UTC) #4
sky
On Fri, May 6, 2011 at 11:49 AM, <thestig@chromium.org> wrote: > > http://codereview.chromium.org/6930034/diff/6003/chrome/browser/printing/background_printing_manager.cc > File ...
9 years, 7 months ago (2011-05-06 19:21:11 UTC) #5
Lei Zhang
On 2011/05/06 19:21:11, sky wrote: > On Fri, May 6, 2011 at 11:49 AM, <mailto:thestig@chromium.org> ...
9 years, 7 months ago (2011-05-06 22:19:03 UTC) #6
sky
9 years, 7 months ago (2011-05-06 22:25:08 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698