OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PRINT_VIEW_MANAGER_BASE_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASE_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASE_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/prefs/pref_member.h" | 10 #include "base/prefs/pref_member.h" |
10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "build/build_config.h" |
11 #include "components/printing/browser/print_manager.h" | 13 #include "components/printing/browser/print_manager.h" |
12 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
14 #include "printing/printed_pages_source.h" | 16 #include "printing/printed_pages_source.h" |
15 | 17 |
16 struct PrintHostMsg_DidPrintPage_Params; | 18 struct PrintHostMsg_DidPrintPage_Params; |
17 | 19 |
18 namespace content { | 20 namespace content { |
19 class RenderViewHost; | 21 class RenderViewHost; |
20 } | 22 } |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 BooleanPrefMember printing_enabled_; | 152 BooleanPrefMember printing_enabled_; |
151 | 153 |
152 scoped_refptr<printing::PrintQueriesQueue> queue_; | 154 scoped_refptr<printing::PrintQueriesQueue> queue_; |
153 | 155 |
154 DISALLOW_COPY_AND_ASSIGN(PrintViewManagerBase); | 156 DISALLOW_COPY_AND_ASSIGN(PrintViewManagerBase); |
155 }; | 157 }; |
156 | 158 |
157 } // namespace printing | 159 } // namespace printing |
158 | 160 |
159 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASE_H_ | 161 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_BASE_H_ |
OLD | NEW |