| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PRINTING_CONTEXT_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_H_ |
| 6 #define PRINTING_PRINTING_CONTEXT_H_ | 6 #define PRINTING_PRINTING_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "gfx/native_widget_types.h" | |
| 14 #include "printing/print_settings.h" | 13 #include "printing/print_settings.h" |
| 14 #include "ui/gfx/native_widget_types.h" |
| 15 | 15 |
| 16 namespace printing { | 16 namespace printing { |
| 17 | 17 |
| 18 // An abstraction of a printer context, implemented by objects that describe the | 18 // An abstraction of a printer context, implemented by objects that describe the |
| 19 // user selected printing context. This includes the OS-dependent UI to ask the | 19 // user selected printing context. This includes the OS-dependent UI to ask the |
| 20 // user about the print settings. Concrete implementations directly talk to the | 20 // user about the print settings. Concrete implementations directly talk to the |
| 21 // printer and manage the document and page breaks. | 21 // printer and manage the document and page breaks. |
| 22 class PrintingContext { | 22 class PrintingContext { |
| 23 public: | 23 public: |
| 24 // Tri-state result for user behavior-dependent functions. | 24 // Tri-state result for user behavior-dependent functions. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 // The application locale. | 118 // The application locale. |
| 119 std::string app_locale_; | 119 std::string app_locale_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(PrintingContext); | 121 DISALLOW_COPY_AND_ASSIGN(PrintingContext); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace printing | 124 } // namespace printing |
| 125 | 125 |
| 126 #endif // PRINTING_PRINTING_CONTEXT_H_ | 126 #endif // PRINTING_PRINTING_CONTEXT_H_ |
| OLD | NEW |