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

Unified Diff: chrome/renderer/chrome_mock_render_thread.cc

Issue 480303002: Use document from preview for System Dialog printing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 08/19/2014 11:17:57.84 Created 6 years, 4 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/chrome_mock_render_thread.cc
diff --git a/chrome/renderer/chrome_mock_render_thread.cc b/chrome/renderer/chrome_mock_render_thread.cc
index c58d3ebe140289c1bf6dd1961e43df111de50856..c3b8efddd9424d982966790a0ee6a97a89953284 100644
--- a/chrome/renderer/chrome_mock_render_thread.cc
+++ b/chrome/renderer/chrome_mock_render_thread.cc
@@ -160,9 +160,13 @@ void ChromeMockRenderThread::OnCheckForCancel(int32 preview_ui_id,
}
void ChromeMockRenderThread::OnUpdatePrintSettings(
+ int render_view_id,
int document_cookie,
const base::DictionaryValue& job_settings,
- PrintMsg_PrintPages_Params* params) {
+ PrintMsg_PrintPages_Params* params,
+ bool* canceled) {
+ if (canceled)
+ *canceled = false;
// Check and make sure the required settings are all there.
// We don't actually care about the values.
std::string dummy_string;

Powered by Google App Engine
This is Rietveld 408576698