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

Unified Diff: chrome/common/print_messages.cc

Issue 7621087: Print Preview: Go from event driven print preview back to print preview with sync messages. The s... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix missing lock 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 | « chrome/common/print_messages.h ('k') | chrome/renderer/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/print_messages.cc
===================================================================
--- chrome/common/print_messages.cc (revision 97706)
+++ chrome/common/print_messages.cc (working copy)
@@ -18,11 +18,12 @@
max_shrink(0),
desired_dpi(0),
document_cookie(0),
- selection_only(0),
- supports_alpha_blend(0),
+ selection_only(false),
+ supports_alpha_blend(false),
+ preview_ui_addr(),
preview_request_id(0),
- is_first_request(0),
- display_header_footer(0),
+ is_first_request(false),
+ display_header_footer(false),
date(),
title(),
url() {
@@ -31,20 +32,21 @@
PrintMsg_Print_Params::~PrintMsg_Print_Params() {}
void PrintMsg_Print_Params::Reset() {
+ page_size = gfx::Size();
+ printable_size = gfx::Size();
+ margin_top = 0;
+ margin_left = 0;
dpi = 0;
+ min_shrink = 0;
max_shrink = 0;
- min_shrink = 0;
desired_dpi = 0;
- selection_only = 0;
document_cookie = 0;
- page_size = gfx::Size();
- page_size = gfx::Size();
- printable_size = gfx::Size();
- margin_left = 0;
- margin_top = 0;
- is_first_request = 0;
+ selection_only = false;
+ supports_alpha_blend = false;
+ preview_ui_addr = std::string();
preview_request_id = 0;
- display_header_footer = 0;
+ is_first_request = false;
+ display_header_footer = false;
date = string16();
title = string16();
url = string16();
@@ -60,4 +62,3 @@
params.Reset();
pages = std::vector<int>();
}
-
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698