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 | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "base/string16.h" | 9 #include "base/string16.h" |
11 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
13 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
14 #include "printing/printed_pages_source.h" | 13 #include "printing/printed_pages_source.h" |
15 | 14 |
16 class TabContents; | 15 class TabContents; |
17 struct PrintHostMsg_DidPrintPage_Params; | 16 struct PrintHostMsg_DidPrintPage_Params; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 202 |
204 // Keeps track of the pending callback during scripted print preview. | 203 // Keeps track of the pending callback during scripted print preview. |
205 content::RenderProcessHost* scripted_print_preview_rph_; | 204 content::RenderProcessHost* scripted_print_preview_rph_; |
206 | 205 |
207 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); | 206 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); |
208 }; | 207 }; |
209 | 208 |
210 } // namespace printing | 209 } // namespace printing |
211 | 210 |
212 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 211 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
OLD | NEW |