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_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 | 7 #pragma once |
8 | 8 |
9 #include "content/browser/tab_contents/tab_contents_observer.h" | 9 #include "content/browser/tab_contents/tab_contents_observer.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 void OnRequestPrintPreview(); | 36 void OnRequestPrintPreview(); |
37 void OnDidGetDefaultPageLayout( | 37 void OnDidGetDefaultPageLayout( |
38 const printing::PageSizeMargins& page_layout_in_points); | 38 const printing::PageSizeMargins& page_layout_in_points); |
39 void OnDidGetPreviewPageCount( | 39 void OnDidGetPreviewPageCount( |
40 const PrintHostMsg_DidGetPreviewPageCount_Params& params); | 40 const PrintHostMsg_DidGetPreviewPageCount_Params& params); |
41 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params); | 41 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params); |
42 void OnPagesReadyForPreview( | 42 void OnPagesReadyForPreview( |
43 const PrintHostMsg_DidPreviewDocument_Params& params); | 43 const PrintHostMsg_DidPreviewDocument_Params& params); |
44 void OnPrintPreviewFailed(int document_cookie); | 44 void OnPrintPreviewFailed(int document_cookie); |
45 void OnPrintPreviewCancelled(int document_cookie); | 45 void OnPrintPreviewCancelled(int document_cookie); |
| 46 void OnInvalidPrinterSettings(int document_cookie); |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); | 48 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace printing | 51 } // namespace printing |
51 | 52 |
52 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ | 53 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ |
OLD | NEW |