DescriptionPrintPreview: While printing the preview data, set the initiator tab title as print job name.
Some important changes in this CL:
1. Initiator job title is sent along with pages count information in 'PrintHostMsg_DidGetPrintedPagesCount' message.
2. Renamed 'PrintHostMsg_DidGetPrintedPagesCount' message to 'PrintHostMsg_DidGetBasicPrintJobInfo'.
3. Added a member variable |job_title_| in print_web_view_helper class to store the job title on the renderer process.
4. Added a member variable |job_title_| in print_view_manager to store the job title on the browser process.
BUG=76123
TEST=Enable print preview on mac. Press Ctrl+p on a webpage to show the preview tab. Click the print button. Verify the print job name in printer job status dialog.
Patch Set 1 #Patch Set 2 : Fix a style error #
Total comments: 2
Patch Set 3 : Updated the CL. #
Total comments: 8
Messages
Total messages: 2 (0 generated)
|