| 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 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" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // Does bookkeeping when an error occurs. | 133 // Does bookkeeping when an error occurs. |
| 134 PrintingContext::Result OnError(); | 134 PrintingContext::Result OnError(); |
| 135 | 135 |
| 136 // Complete print context settings. | 136 // Complete print context settings. |
| 137 PrintSettings settings_; | 137 PrintSettings settings_; |
| 138 | 138 |
| 139 // Printing context delegate. | 139 // Printing context delegate. |
| 140 Delegate* delegate_; | 140 Delegate* delegate_; |
| 141 | 141 |
| 142 // The dialog box has been dismissed. | |
| 143 volatile bool dialog_box_dismissed_; | |
| 144 | |
| 145 // Is a print job being done. | 142 // Is a print job being done. |
| 146 volatile bool in_print_job_; | 143 volatile bool in_print_job_; |
| 147 | 144 |
| 148 // Did the user cancel the print job. | 145 // Did the user cancel the print job. |
| 149 volatile bool abort_printing_; | 146 volatile bool abort_printing_; |
| 150 | 147 |
| 151 private: | 148 private: |
| 152 DISALLOW_COPY_AND_ASSIGN(PrintingContext); | 149 DISALLOW_COPY_AND_ASSIGN(PrintingContext); |
| 153 }; | 150 }; |
| 154 | 151 |
| 155 } // namespace printing | 152 } // namespace printing |
| 156 | 153 |
| 157 #endif // PRINTING_PRINTING_CONTEXT_H_ | 154 #endif // PRINTING_PRINTING_CONTEXT_H_ |
| OLD | NEW |