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 #ifndef CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/printing/print_job_worker_owner.h" | 11 #include "chrome/browser/printing/print_job_worker_owner.h" |
12 #include "printing/print_job_constants.h" | 12 #include "printing/print_job_constants.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 | 14 |
15 class CancelableTask; | 15 class CancelableTask; |
16 class MessageLoop; | 16 class MessageLoop; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class DictionaryValue; | 19 class DictionaryValue; |
20 class Thread; | |
21 } | 20 } |
22 | 21 |
23 namespace printing { | 22 namespace printing { |
24 | 23 |
25 class PrintJobWorker; | 24 class PrintJobWorker; |
26 | 25 |
27 // Query the printer for settings. | 26 // Query the printer for settings. |
28 class PrinterQuery : public PrintJobWorkerOwner { | 27 class PrinterQuery : public PrintJobWorkerOwner { |
29 public: | 28 public: |
30 // GetSettings() UI parameter. | 29 // GetSettings() UI parameter. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 // Task waiting to be executed. | 99 // Task waiting to be executed. |
101 scoped_ptr<CancelableTask> callback_; | 100 scoped_ptr<CancelableTask> callback_; |
102 | 101 |
103 DISALLOW_COPY_AND_ASSIGN(PrinterQuery); | 102 DISALLOW_COPY_AND_ASSIGN(PrinterQuery); |
104 }; | 103 }; |
105 | 104 |
106 } // namespace printing | 105 } // namespace printing |
107 | 106 |
108 #endif // CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ | 107 #endif // CHROME_BROWSER_PRINTING_PRINTER_QUERY_H_ |
OLD | NEW |