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

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

Issue 276004: Wire up printing on the Mac (Closed)
Patch Set: Created 11 years, 2 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/browser/printing/printer_query.cc
diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
index 3bcee7a8d269759d391b8ae3b66db5b514cba951..4fdadbe20c23abfef78b637614afaf9bd9a950cd 100644
--- a/chrome/browser/printing/printer_query.cc
+++ b/chrome/browser/printing/printer_query.cc
@@ -17,8 +17,8 @@ PrinterQuery::PrinterQuery()
: ui_message_loop_(MessageLoop::current()),
worker_(new PrintJobWorker(this)),
is_print_dialog_box_shown_(false),
- last_status_(PrintingContext::FAILED),
- cookie_(PrintSettings::NewCookie()) {
+ cookie_(PrintSettings::NewCookie()),
+ last_status_(PrintingContext::FAILED) {
}
PrinterQuery::~PrinterQuery() {
@@ -62,7 +62,7 @@ PrintJobWorker* PrinterQuery::DetachWorker(PrintJobWorkerOwner* new_owner) {
}
void PrinterQuery::GetSettings(GetSettingsAskParam ask_user_for_settings,
- HWND parent_window,
+ gfx::NativeWindow parent_window,
int expected_page_count,
bool has_selection,
CancelableTask* callback) {

Powered by Google App Engine
This is Rietveld 408576698