Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1373)

Side by Side Diff: printing/print_settings_initializer.h

Issue 7799003: Add printing.dll to the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/print_settings.h ('k') | printing/print_settings_initializer_gtk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 PRINTING_PRINT_SETTINGS_INITIALIZER_H_ 5 #ifndef PRINTING_PRINT_SETTINGS_INITIALIZER_H_
6 #define PRINTING_PRINT_SETTINGS_INITIALIZER_H_ 6 #define PRINTING_PRINT_SETTINGS_INITIALIZER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "printing/printing_export.h"
10 11
11 namespace base { 12 namespace base {
12 class DictionaryValue; 13 class DictionaryValue;
13 } 14 }
14 15
15 namespace printing { 16 namespace printing {
16 17
17 class PrintSettings; 18 class PrintSettings;
18 19
19 // Initializes the header footer strings in the PrintSettings object from the 20 // Initializes the header footer strings in the PrintSettings object from the
20 // provided |job_settings|. 21 // provided |job_settings|.
21 class PrintSettingsInitializer { 22 class PRINTING_EXPORT PrintSettingsInitializer {
22 public: 23 public:
23 static void InitHeaderFooterStrings( 24 static void InitHeaderFooterStrings(
24 const base::DictionaryValue& job_settings, 25 const base::DictionaryValue& job_settings,
25 PrintSettings* print_settings); 26 PrintSettings* print_settings);
26 27
27 private: 28 private:
28 DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer); 29 DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer);
29 }; 30 };
30 31
31 } // namespace printing 32 } // namespace printing
32 33
33 #endif // PRINTING_PRINT_SETTINGS_INITIALIZER_H_ 34 #endif // PRINTING_PRINT_SETTINGS_INITIALIZER_H_
34 35
OLDNEW
« no previous file with comments | « printing/print_settings.h ('k') | printing/print_settings_initializer_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698