OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_system_dialog_win.h" | 5 #include "printing/printing_context_system_dialog_win.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "printing/backend/win_helper.h" | 9 #include "printing/backend/win_helper.h" |
10 #include "printing/print_settings_initializer_win.h" | 10 #include "printing/print_settings_initializer_win.h" |
11 #include "skia/ext/platform_device.h" | 11 #include "skia/ext/skia_utils_win.h" |
12 | 12 |
13 namespace printing { | 13 namespace printing { |
14 | 14 |
15 PrintingContextSytemDialogWin::PrintingContextSytemDialogWin(Delegate* delegate) | 15 PrintingContextSytemDialogWin::PrintingContextSytemDialogWin(Delegate* delegate) |
16 : PrintingContextWin(delegate) { | 16 : PrintingContextWin(delegate) { |
17 } | 17 } |
18 | 18 |
19 PrintingContextSytemDialogWin::~PrintingContextSytemDialogWin() { | 19 PrintingContextSytemDialogWin::~PrintingContextSytemDialogWin() { |
20 } | 20 } |
21 | 21 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 260 |
261 if (dialog_options.hDevMode != NULL) | 261 if (dialog_options.hDevMode != NULL) |
262 GlobalFree(dialog_options.hDevMode); | 262 GlobalFree(dialog_options.hDevMode); |
263 if (dialog_options.hDevNames != NULL) | 263 if (dialog_options.hDevNames != NULL) |
264 GlobalFree(dialog_options.hDevNames); | 264 GlobalFree(dialog_options.hDevNames); |
265 | 265 |
266 return context() ? OK : FAILED; | 266 return context() ? OK : FAILED; |
267 } | 267 } |
268 | 268 |
269 } // namespace printing | 269 } // namespace printing |
OLD | NEW |