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

Side by Side Diff: printing/print_settings_initializer.h

Issue 329683002: Improvements in --debug-print switch implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 06/12/2014 2:53:06.07 Created 6 years, 6 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_conversion.cc ('k') | printing/print_settings_initializer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_PRINT_SETTINGS_INITIALIZER_H_
6 #define PRINTING_PRINT_SETTINGS_INITIALIZER_H_
7
8 #include "base/basictypes.h"
9 #include "base/logging.h"
10 #include "printing/page_range.h"
11 #include "printing/printing_export.h"
12
13 namespace base {
14 class DictionaryValue;
15 }
16
17 namespace printing {
18
19 class PrintSettings;
20
21 // Initializes the header footer strings in the PrintSettings object from the
22 // provided |job_settings|.
23 class PRINTING_EXPORT PrintSettingsInitializer {
24 public:
25 static bool InitSettings(
26 const base::DictionaryValue& job_settings,
27 const PageRanges& ranges,
28 PrintSettings* print_settings);
29
30 private:
31 DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer);
32 };
33
34 } // namespace printing
35
36 #endif // PRINTING_PRINT_SETTINGS_INITIALIZER_H_
37
OLDNEW
« no previous file with comments | « printing/print_settings_conversion.cc ('k') | printing/print_settings_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698