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_PREVIEW_MESSAGE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
11 | 10 |
12 class PrintPreviewUI; | 11 class PrintPreviewUI; |
13 class TabContents; | 12 class TabContents; |
14 struct PrintHostMsg_DidGetPreviewPageCount_Params; | 13 struct PrintHostMsg_DidGetPreviewPageCount_Params; |
15 struct PrintHostMsg_DidPreviewDocument_Params; | 14 struct PrintHostMsg_DidPreviewDocument_Params; |
16 struct PrintHostMsg_DidPreviewPage_Params; | 15 struct PrintHostMsg_DidPreviewPage_Params; |
17 | 16 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void OnPrintPreviewCancelled(int document_cookie); | 60 void OnPrintPreviewCancelled(int document_cookie); |
62 void OnInvalidPrinterSettings(int document_cookie); | 61 void OnInvalidPrinterSettings(int document_cookie); |
63 void OnPrintPreviewScalingDisabled(); | 62 void OnPrintPreviewScalingDisabled(); |
64 | 63 |
65 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); | 64 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); |
66 }; | 65 }; |
67 | 66 |
68 } // namespace printing | 67 } // namespace printing |
69 | 68 |
70 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ | 69 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ |
OLD | NEW |