OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PRINTING_HEADER_FOOTER_INITIALIZER_H_ |
| 6 #define PRINTING_HEADER_FOOTER_INITIALIZER_H_ |
| 7 |
| 8 #include "base/logging.h" |
| 9 |
| 10 namespace base { |
| 11 class DictionaryValue; |
| 12 } |
| 13 |
| 14 namespace printing { |
| 15 |
| 16 class PrintSettings; |
| 17 |
| 18 // Initializes the header footer strings in the PrintSettings object from the |
| 19 // provided |header_footer_info|. |
| 20 class HeaderFooterInitializer { |
| 21 public: |
| 22 static void InitHeaderFooterStrings( |
| 23 const base::DictionaryValue& header_footer_info, |
| 24 PrintSettings* print_settings); |
| 25 |
| 26 private: |
| 27 DISALLOW_IMPLICIT_CONSTRUCTORS(HeaderFooterInitializer); |
| 28 }; |
| 29 |
| 30 } // namespace printing |
| 31 |
| 32 #endif // PRINTING_HEADER_FOOTER_INITIALIZER_H_ |
| 33 |
OLD | NEW |