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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 7550022: Print Preview: Fixing behavior of event listeners. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments Created 9 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
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_message_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_dialog_cloud.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index fa20ad7f0c819fbd7c24711b36a37edb570f59b7..fe2e255bca93674713432a85f1078db23aec06b0 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -377,6 +377,8 @@ void CloudPrintFlowHandler::HandleSetPageParameters(const ListValue* args) {
default_settings.desired_dpi = kDPI;
default_settings.document_cookie = 0;
default_settings.selection_only = false;
+ default_settings.preview_request_id = 0;
+ default_settings.is_first_request = true;
if (!GetPageSetupParameters(json, default_settings)) {
NOTREACHED();
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698