OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/printing/print_job.h" | 5 #include "chrome/browser/printing/print_job.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/threading/thread_restrictions.h" | 10 #include "base/threading/thread_restrictions.h" |
11 #include "base/threading/worker_pool.h" | 11 #include "base/threading/worker_pool.h" |
12 #include "base/timer/timer.h" | |
13 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
14 #include "chrome/browser/printing/print_job_worker.h" | 13 #include "chrome/browser/printing/print_job_worker.h" |
15 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/notification_service.h" | 15 #include "content/public/browser/notification_service.h" |
17 #include "printing/printed_document.h" | 16 #include "printing/printed_document.h" |
18 #include "printing/printed_page.h" | 17 #include "printing/printed_page.h" |
19 | 18 |
20 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
21 #include "chrome/browser/printing/pdf_to_emf_converter.h" | 20 #include "chrome/browser/printing/pdf_to_emf_converter.h" |
22 #include "printing/pdf_render_settings.h" | 21 #include "printing/pdf_render_settings.h" |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 } | 452 } |
454 | 453 |
455 JobEventDetails::~JobEventDetails() { | 454 JobEventDetails::~JobEventDetails() { |
456 } | 455 } |
457 | 456 |
458 PrintedDocument* JobEventDetails::document() const { return document_.get(); } | 457 PrintedDocument* JobEventDetails::document() const { return document_.get(); } |
459 | 458 |
460 PrintedPage* JobEventDetails::page() const { return page_.get(); } | 459 PrintedPage* JobEventDetails::page() const { return page_.get(); } |
461 | 460 |
462 } // namespace printing | 461 } // namespace printing |
OLD | NEW |