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

Issue 6783005: Print Preview: Set a print job's title and url correctly. (Closed)

Created:
9 years, 8 months ago by Lei Zhang
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Print Preview: Set a print job's title and url correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80825

Patch Set 1 : '' #

Total comments: 12

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : tab helpers stay with friends #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -16 lines) Patch
M chrome/browser/printing/print_preview_message_handler.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_view_manager.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 2 4 chunks +24 lines, -7 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 1 2 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 3 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Lei Zhang
I believe this is an easier way to set a print job's title and url. ...
9 years, 8 months ago (2011-03-31 18:14:38 UTC) #1
kmadhusu
LGTM with a nit. http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc File chrome/browser/printing/print_preview_message_handler.cc (right): http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc#newcode76 chrome/browser/printing/print_preview_message_handler.cc:76: wrapper->print_view_manager()->OverrideTitleAndUrl(tab_contents()); if (wrapper) wrapper->print_view_manager()->OverrideTitleAndUrl(tab_contents());
9 years, 8 months ago (2011-03-31 22:37:48 UTC) #2
Lei Zhang
avi: Please take a look at the TCW bits. http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc File chrome/browser/printing/print_preview_message_handler.cc (right): http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc#newcode76 chrome/browser/printing/print_preview_message_handler.cc:76: ...
9 years, 8 months ago (2011-03-31 22:42:40 UTC) #3
stuartmorgan
http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_view_manager.cc File chrome/browser/printing/print_view_manager.cc (right): http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_view_manager.cc#newcode42 chrome/browser/printing/print_view_manager.cc:42: else else is unnecessary here. http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_view_manager.h File chrome/browser/printing/print_view_manager.h (right): ...
9 years, 8 months ago (2011-04-01 22:34:14 UTC) #4
Lei Zhang
It occurred to me (in my sleep, of course) that overriding the url is unnecessary. ...
9 years, 8 months ago (2011-04-04 22:21:03 UTC) #5
stuartmorgan
LGTM (although I wonder if not having to bleed the header would be worth moving ...
9 years, 8 months ago (2011-04-06 10:49:17 UTC) #6
Avi (use Gerrit)
http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc File chrome/browser/printing/print_preview_message_handler.cc (right): http://codereview.chromium.org/6783005/diff/5011/chrome/browser/printing/print_preview_message_handler.cc#newcode76 chrome/browser/printing/print_preview_message_handler.cc:76: wrapper->print_view_manager()->OverrideTitleAndUrl(tab_contents()); On 2011/03/31 22:42:40, Lei Zhang wrote: > avi: ...
9 years, 8 months ago (2011-04-06 11:21:32 UTC) #7
Lei Zhang
http://codereview.chromium.org/6783005/diff/14001/chrome/browser/printing/print_preview_message_handler.cc File chrome/browser/printing/print_preview_message_handler.cc (right): http://codereview.chromium.org/6783005/diff/14001/chrome/browser/printing/print_preview_message_handler.cc#newcode75 chrome/browser/printing/print_preview_message_handler.cc:75: TabContentsWrapper::GetCurrentWrapperForContents(print_preview_tab); On 2011/04/06 11:21:32, Avi wrote: > Are we ...
9 years, 8 months ago (2011-04-07 00:53:20 UTC) #8
Avi (use Gerrit)
9 years, 8 months ago (2011-04-07 13:48:38 UTC) #9
LGTM then.

Powered by Google App Engine
This is Rietveld 408576698