| 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 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
| 12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
| 13 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
| 14 #include "printing/printed_pages_source.h" | 14 #include "printing/printed_pages_source.h" |
| 15 | 15 |
| 16 class TabContentsWrapper; | 16 class TabContents; |
| 17 typedef TabContents TabContentsWrapper; |
| 17 struct PrintHostMsg_DidPrintPage_Params; | 18 struct PrintHostMsg_DidPrintPage_Params; |
| 18 | 19 |
| 19 namespace content { | 20 namespace content { |
| 20 class RenderProcessHost; | 21 class RenderProcessHost; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace printing { | 24 namespace printing { |
| 24 | 25 |
| 25 class JobEventDetails; | 26 class JobEventDetails; |
| 26 class PrintJob; | 27 class PrintJob; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 199 |
| 199 // Keeps track of the pending callback during scripted print preview. | 200 // Keeps track of the pending callback during scripted print preview. |
| 200 content::RenderProcessHost* scripted_print_preview_rph_; | 201 content::RenderProcessHost* scripted_print_preview_rph_; |
| 201 | 202 |
| 202 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); | 203 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); |
| 203 }; | 204 }; |
| 204 | 205 |
| 205 } // namespace printing | 206 } // namespace printing |
| 206 | 207 |
| 207 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 208 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
| OLD | NEW |