OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "base/string16.h" | 6 #include "base/string16.h" |
7 #include "chrome/browser/printing/print_job.h" | 7 #include "chrome/browser/printing/print_job.h" |
8 #include "chrome/browser/printing/print_job_worker.h" | 8 #include "chrome/browser/printing/print_job_worker.h" |
9 #include "chrome/common/notification_registrar.h" | 9 #include "chrome/common/notification_registrar.h" |
10 #include "chrome/common/notification_service.h" | 10 #include "chrome/common/notification_service.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 job->settings(); | 128 job->settings(); |
129 job->cookie(); | 129 job->cookie(); |
130 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL); | 130 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL); |
131 job->StartPrinting(); | 131 job->StartPrinting(); |
132 job->Stop(); | 132 job->Stop(); |
133 job->Cancel(); | 133 job->Cancel(); |
134 job->RequestMissingPages(); | 134 job->RequestMissingPages(); |
135 job->FlushJob(timeout_ms); | 135 job->FlushJob(timeout_ms); |
136 job->DisconnectSource(); | 136 job->DisconnectSource(); |
137 job->is_job_pending(); | 137 job->is_job_pending(); |
138 job->is_print_dialog_box_shown(); | |
139 job->document(); | 138 job->document(); |
140 // Private | 139 // Private |
141 job->UpdatePrintedDocument(NULL); | 140 job->UpdatePrintedDocument(NULL); |
142 scoped_refptr<printing::JobEventDetails> event_details; | 141 scoped_refptr<printing::JobEventDetails> event_details; |
143 job->OnNotifyPrintJobEvent(event_details); | 142 job->OnNotifyPrintJobEvent(event_details); |
144 job->OnDocumentDone(); | 143 job->OnDocumentDone(); |
145 job->ControlledWorkerShutdown(); | 144 job->ControlledWorkerShutdown(); |
146 */ | 145 */ |
147 } | 146 } |
OLD | NEW |