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

Unified Diff: chrome/renderer/mock_render_thread.h

Issue 6775013: PrintPreview: While printing the preview data, set the initiator tab title as print job name. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated the CL. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/mock_render_thread.h
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h
index 1d04b97c4f03f2daa082ec9297327f61f5e76ff6..4190c0af1a44373e34bc4f9a3a8c3c608ece87f0 100644
--- a/chrome/renderer/mock_render_thread.h
+++ b/chrome/renderer/mock_render_thread.h
@@ -119,7 +119,9 @@ class MockRenderThread : public RenderThreadBase {
void OnScriptedPrint(const PrintHostMsg_ScriptedPrint_Params& params,
PrintMsg_PrintPages_Params* settings);
- void OnDidGetPrintedPagesCount(int cookie, int number_pages);
+ void OnDidGetBasicPrintJobInfo(int cookie,
+ int number_pages,
+ const string16& job_title);
void OnDidPrintPage(const PrintHostMsg_DidPrintPage_Params& params);
IPC::TestSink sink_;

Powered by Google App Engine
This is Rietveld 408576698