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 #include "printing/printing_context.h" | 5 #include "printing/printing_context.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "printing/page_setup.h" | 9 #include "printing/page_setup.h" |
10 #include "printing/page_size_margins.h" | 10 #include "printing/page_size_margins.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 return OK; | 114 return OK; |
115 } | 115 } |
116 | 116 |
117 bool show_system_dialog = false; | 117 bool show_system_dialog = false; |
118 job_settings.GetBoolean(printing::kSettingShowSystemDialog, | 118 job_settings.GetBoolean(printing::kSettingShowSystemDialog, |
119 &show_system_dialog); | 119 &show_system_dialog); |
120 | 120 |
121 return UpdatePrinterSettings(open_in_external_preview, show_system_dialog); | 121 return UpdatePrinterSettings(open_in_external_preview, show_system_dialog); |
122 } | 122 } |
123 | 123 |
| 124 void PrintingContext::RequestSystemDialog(const PrintSettingsCallback& cb) { |
| 125 NOTREACHED(); |
| 126 } |
| 127 |
124 } // namespace printing | 128 } // namespace printing |
OLD | NEW |