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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 7461014: Fix issue in print preview where selecting a cloud printer does not generate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.cc » ('j') | chrome/renderer/print_web_view_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.h
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index 81d40e3cd716dba45740ed2e1fe8e0e7274b2c63..1194689923bfab2fbe1b6f9c39389a971eee4cda 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -154,6 +154,11 @@ class PrintWebViewHelper : public RenderViewObserver,
bool InitPrintSettings(WebKit::WebFrame* frame,
WebKit::WebNode* node);
+ // Parse the request id out of |job_settings| and store it in |params|.
+ // Returns false on failure.
+ bool UpdatePrintSettingsRequestId(const base::DictionaryValue& job_settings,
+ PrintMsg_Print_Params* params);
+
// Update the current print settings with new |job_settings|. |job_settings|
// dictionary contains print job details such as printer name, number of
// copies, page range, etc.
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.cc » ('j') | chrome/renderer/print_web_view_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698