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_PRINTING_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // handled by the print worker thread and the UI thread. The reply occurs on | 100 // handled by the print worker thread and the UI thread. The reply occurs on |
101 // the IO thread. | 101 // the IO thread. |
102 void OnUpdatePrintSettings(int document_cookie, | 102 void OnUpdatePrintSettings(int document_cookie, |
103 const base::DictionaryValue& job_settings, | 103 const base::DictionaryValue& job_settings, |
104 IPC::Message* reply_msg); | 104 IPC::Message* reply_msg); |
105 void OnUpdatePrintSettingsReply( | 105 void OnUpdatePrintSettingsReply( |
106 scoped_refptr<printing::PrinterQuery> printer_query, | 106 scoped_refptr<printing::PrinterQuery> printer_query, |
107 IPC::Message* reply_msg); | 107 IPC::Message* reply_msg); |
108 | 108 |
109 // Check to see if print preview has been cancelled. | 109 // Check to see if print preview has been cancelled. |
110 void OnCheckForCancel(const std::string& preview_ui_addr, | 110 void OnCheckForCancel(int32 preview_ui_id, |
111 int preview_request_id, | 111 int preview_request_id, |
112 bool* cancel); | 112 bool* cancel); |
113 | 113 |
114 printing::PrintJobManager* print_job_manager_; | 114 printing::PrintJobManager* print_job_manager_; |
115 | 115 |
116 ProfileIOData* profile_io_data_; | 116 ProfileIOData* profile_io_data_; |
117 | 117 |
118 int render_process_id_; | 118 int render_process_id_; |
119 | 119 |
120 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); | 120 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); |
121 }; | 121 }; |
122 | 122 |
123 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 123 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
OLD | NEW |