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_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/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/browser/tab_contents/tab_contents_observer.h" | |
12 #include "chrome/common/notification_observer.h" | 11 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 13 #include "content/browser/tab_contents/tab_contents_observer.h" |
14 #include "printing/printed_pages_source.h" | 14 #include "printing/printed_pages_source.h" |
15 | 15 |
16 class RenderViewHost; | 16 class RenderViewHost; |
17 class TabContents; | 17 class TabContents; |
18 struct ViewHostMsg_DidPrintPage_Params; | 18 struct ViewHostMsg_DidPrintPage_Params; |
19 | 19 |
20 namespace printing { | 20 namespace printing { |
21 | 21 |
22 class JobEventDetails; | 22 class JobEventDetails; |
23 class PrintJob; | 23 class PrintJob; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // we are _blocking_ until all the necessary pages have been rendered or the | 123 // we are _blocking_ until all the necessary pages have been rendered or the |
124 // print settings are being loaded. | 124 // print settings are being loaded. |
125 bool inside_inner_message_loop_; | 125 bool inside_inner_message_loop_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); | 127 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace printing | 130 } // namespace printing |
131 | 131 |
132 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 132 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
OLD | NEW |