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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/browser/browser_message_filter.h" | 9 #include "content/browser/browser_message_filter.h" |
10 | 10 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const base::DictionaryValue& job_settings, | 74 const base::DictionaryValue& job_settings, |
75 IPC::Message* reply_msg); | 75 IPC::Message* reply_msg); |
76 void OnUpdatePrintSettingsReply( | 76 void OnUpdatePrintSettingsReply( |
77 scoped_refptr<printing::PrinterQuery> printer_query, | 77 scoped_refptr<printing::PrinterQuery> printer_query, |
78 IPC::Message* reply_msg); | 78 IPC::Message* reply_msg); |
79 | 79 |
80 printing::PrintJobManager* print_job_manager_; | 80 printing::PrintJobManager* print_job_manager_; |
81 | 81 |
82 bool cloud_print_enabled_; | 82 bool cloud_print_enabled_; |
83 | 83 |
| 84 // Contains strings to be printed as headers and footers if requested by the |
| 85 // user. |
| 86 scoped_ptr<base::DictionaryValue> header_footer_info_; |
| 87 bool display_header_footer_; |
| 88 |
84 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); | 89 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); |
85 }; | 90 }; |
86 | 91 |
87 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 92 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
OLD | NEW |