| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/browser/renderer_host/render_view_host_delegate.h" | 10 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 11 #include "chrome/common/notification_observer.h" |
| 11 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 12 #include "printing/printed_pages_source.h" | 13 #include "printing/printed_pages_source.h" |
| 13 | 14 |
| 14 class RenderViewHost; | 15 class RenderViewHost; |
| 15 class TabContents; | 16 class TabContents; |
| 16 struct ViewHostMsg_DidPrintPage_Params; | 17 struct ViewHostMsg_DidPrintPage_Params; |
| 17 | 18 |
| 18 namespace printing { | 19 namespace printing { |
| 19 | 20 |
| 20 class JobEventDetails; | 21 class JobEventDetails; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // printing-related behavior. Still, access to the renderer is needed so a | 128 // printing-related behavior. Still, access to the renderer is needed so a |
| 128 // back reference is kept the the "parent object". | 129 // back reference is kept the the "parent object". |
| 129 TabContents& owner_; | 130 TabContents& owner_; |
| 130 | 131 |
| 131 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); | 132 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace printing | 135 } // namespace printing |
| 135 | 136 |
| 136 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ | 137 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ |
| OLD | NEW |